The content of this article is about how to disable the public IP of the ECS cloud server. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
How to disable the public IP of ECS cloud server
Linux method to turn off the external network card
First use ifconfig to check The network card name corresponding to the public network IP. Here we see that the corresponding one is eth1. Then use ifdown eth1. Then test the ping of the public network IP, but the ping fails.
##How to disable the public network card in Windows
Windows host can run - enter cmd, enter ipconfig to view the network card information of the public IP. In the picture below, you can see that the public network card is local connection 2. Then open Control Panel > Network and Sharing Center > Change Adapter Settings and disable Local Area Connection 2. Then perform a ping test locally to the server, but the ping fails.The above is the detailed content of How to disable public IP on ECS cloud server. For more information, please follow other related articles on the PHP Chinese website!