How to get remote server's ip?
9,106
I used
curl ifconfig.me
It is a web service that returns originating IP address. Other information is also available, including
curl ifconfig.me/host # hostname
curl ifconfig.me/ua # user agent
curl ifconfig.me/forwarded # proxy settings
Related videos on Youtube
Author by
noclueboy
Updated on September 18, 2022Comments
-
noclueboy over 1 year
I've got the server's adress and I don't know how to get its ip adress. I have an access via ssh and I need it so bad, please help. (As for your information I've been looking for this for some time, seriously :/ )
-
yprez over 10 years
-
yprez over 10 yearsHow do you connect to it with ssh if you don't know it's ip? If you use a domain name, then you can run
nslookup
on the domain, or evenping
.
-