You are not logged in.
I'm trying to identify where a program connects and I've successfully identified the process in netstat. The problem is There's no IP address, or rather I don't know what to make of it since, as you can see, it separated by hyphens. I've tried to connect to 50.57.180.241 and this server does exists, however I'm not sure if that's where I should be pointing at.
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 ip-10-161-23-145.us-w:49675 50-57-180-241.static.c:http ESTABLISHEDThanks
Last edited by Darkade (2012-07-25 18:03:37)
Offline
can you see if you have "ss" installed by typing "ss" at the prompt and see what it gives?
Offline
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LAST-ACK 1 1 10.161.23.145:34865 50.57.180.241:8008So I guess that's the IP address right?
Last edited by Darkade (2012-07-25 17:31:27)
Offline
yes. also, it appears that it _may_ be a server being hosted by Rackspace.
Offline
Any ideas why netstat is giving the hyphened address?
Offline
unsure. maybe it's got something to do with the canonical host name?
from the man page:
Unless the --numeric (-n) option is specified, the socket address is resolved to its canonical host name (FQDN), and the port number is translated into the corresponding service name.
you could try netstat -n and see if that changes it.
Offline
Wow, I didn't know about this canonical host name. The -n option gave me the ip-address resolved trough ss.
Thanks
Offline