Weird results with netstat
Hi, I am getting something weird while running netstat. I am unsure of what it means and it is the first time I see this...
I run Gentoo Linux with a Cable modem.
I see this along with other stuff...
tcp 0 0 localhost.nic.fr:46431 localhost.nic.fr:46430 TIME_WAIT
tcp 0 0 localhost.nic.fr:46428 localhost.nic.fr:46427 TIME_WAIT
tcp 0 0 localhost.nic.fr:46434 localhost.nic.fr:46433 TIME_WAIT
the address localhost.nic.fr resolves to 127.0.0.1 but when I check my /etc/hosts /etc/hostname and /etc/dnsdomainname files I don't see anything that resembles that name. I also don't remember anything using that...
Does anyone know off hand what is going on? Or maybe a config file I didn't look at that a program changed?
Local host is simply your machine's internal network name, which resolves to 127.0.0.1. For example, if you ping 127.0.0.1, you are pinging yourself to verify that your network card works. What you are seeing in netstat is normal.
Go to www.yahoo.com or google in your browser, and then run another netstat and you will see your machine non-local(meaning you will see the static address of your machine 192.xxx.xx.xxx or another dynamically assigned address)IP address is now connected to the IP address of whatever website you just opened.
Hope that helps.
Also try using netstat -tanp & netstat -uanp to get a programme name and ip numbers...
I get more useful help off non-linux related areas.
Larsin,.. seriously... did I ask what localhost was? NO. I said I am getting an extra address identifying it self as 127.0.0.1 and I run 1 single computer with no 196.x.x.x addresses. Imagine you netstat and you see 10 different addresses, each one resolving to 127.0.0.1 ... thats a bit weird isn't it? espeically if you never assigned them.... Don't you think???
last time I'll ever post here.
|All times are GMT -5. The time now is 11:36 PM.|