This article is a mirror article of machine translation, please click here to jump to the original article.

View: 10659|Reply: 2

Windows does not have a browser to obtain an external (egress) IP address

[Copy link]
Posted on 2021-9-14 09:25:18 | | | |
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)




Previous:Git restores files that have been committed for deletion
Next:Java FeignClient Interface exception solution for multiple identical service names
 Landlord| Posted on 2023-10-6 11:09:52 |
Attach other addresses that can be queried via curl

curl cip.cc
curl icanhazip.com
curl ifconfig.me
 Landlord| Posted on 2025-1-3 09:14:46 |
Add an address:https://ipinfo.io/json
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com