Knowledgebase

Portal Home > Knowledgebase > Articles Database > netstat -an or -tln


netstat -an or -tln




Posted by surfmanjoe, 08-09-2008, 12:08 AM
netstat -tln shows my port 80 is listening. tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN but netstat -an shows nothing about port 80 actually my web can not be accessed. it shows "Cannot find server or DNS Error " under Internet Explorer. so, what's the problem? I have no clue on it. Thanks.

Posted by ub3r, 08-09-2008, 12:34 AM
are you sure you're seeing the full output of netstat?

Posted by tracerouteme, 08-09-2008, 02:09 AM
Run the following command to check webserver is listening on port 80. netstat -lpn |grep :80 Try to access the IP via browser to make sure it is not an issue with the webserver. Also make sure DNS is running in the server. netstat -lpn |grep :53

Posted by david510, 08-09-2008, 04:48 AM
Have a check of the firewall if all the services are running fine on the server.

Posted by Linuxsurgeon, 08-09-2008, 03:53 PM
netstat -tln shows all listening ports where netstat -an shows ESTABLISHED and TIME_WAIT connections. Your issue seems to be with firewall. Access website after stopping your firewall and check whether its resolving.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
"money back guarantee" (Views: 623)
Citadelhost YAY (Views: 565)


Language:

Contact us