[NBLUG/talk] localhost: connection refused

Todd Cary todd at aristesoftware.com
Tue Jul 12 14:25:05 PDT 2005


Egg on my face!!  Here is the actual cause of the problem (please do not 
laugh or send a virus to my computer):

http://localhost:81

Yup!  This is my play server so httpd is on port 81.

When I did the suggested netstat -l |egrep "localhost | 127.0.0. | :http 
| :81" (I saw the :80 in the suggestion), the lightbulb turned on!

Todd

S. Saunders wrote:

>On Mon, July 11, 2005 11:22, Christopher Wagner said:
>
>  
>
>>>But "route add -net 127.0.0.0" (as the man page suggests)
>>>produces an error.
>>>      
>>>
>>Yes, but what's the error?
>>    
>>
>
>Yes indeed!  " 'X' produces an error" is among the least-useful
>trouble-reports for troubleshooting a problem.  It *does* eliminate
>the possibility that it has just silently *worked* (I've troubleshot
>"working" issues that were merely "silent upon correct operation").
>
>What exactly is the error?
>
>
>
>Try cut&paste'ing the following command:
>  netstat -l | egrep "localhost|127.0.0.|:http|:80"
>
>That should send a list of all "Listening" ports to the grep, which
>should in turn print out anything that has either localhost doing
>the listening, or a webserver-service.  I s'pose you may have some
>different version of netstat or grep, but those are pretty standard
>AFAIK; the above was tested on bolt.sonic.net & seems to work, though
>I haven't rigorously forced truncation/etc -- higher portnumbers
>beginning "80..." also show up, for example.
>
>
>- Steve S.
>
>
>
>_______________________________________________
>talk mailing list
>talk at nblug.org
>http://nblug.org/cgi-bin/mailman/listinfo/talk
>
>
>  
>



More information about the talk mailing list