When troubleshooting the problem, the two servers communicate, the number of network connections does not match, log in to the server, want to get the external network (egress) IP address, and then, there is no browser installed on the system, including: ie browser, how to get the IP address of the external network without a browser?
Note: Due to the complexity of the network, the IP address of the remote desktop connection may not be the IP address of the server's egress IP address, but may be the IP address of the reverse proxy.
browser
In the presence of a browser, enterThe hyperlink login is visible., or Baidu searches for IP keywords to obtain the IP address of the external network exit, as shown in the figure below:
No browser
How do I get an external (egress) IP address without a browser?
1. Passtelnet cip.cc, the command is as follows:
2. Through the curl command, if the server has a PowerShell command line program, you can open the PowerShell terminal with the following command:
Of course, there is no browser to obtain the IP address of the external network.The same applies to Linux servers(Prerequisite: telnet or curl installed).
(End)
|