http://localhost/ <- this works for me
http://myMachineName/ <- Connection refused
but
ping localhost <- this works
ping myMachineName <- this works too
Why is it refusing the connection by machine name? I chose debian
network defaults for not being on a domain. I have a cable modem.
I see nothing in the apache logs, as if the socket is never opened.
I first noticed this when trying to run the java debugger. It too
tries to connet to a socket, myMachineName:portnumber, but returns
with "connetion refused" as well.
TIA,
Modify ServerName in /etc/httpd/httpd.conf. It is probably has default setting
(localhost).