in reply to Re: Stories from the front
in thread Stories from the front

Solaris does use /etc/hosts -- I may have to check that file and see what it contains. I do know that from both Linux and openSolaris (I'm at home and can't try it on Solaris right now), I'm able to ssh into localhost, 127.0.0.1 and $localIP. And my openSolaris box has

::1 localhost 127.0.0.1 foobar foobar.local localhost loghost
in its /etc/hosts file. Thanks for the feedback.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Replies are listed 'Best First'.
Re^3: Stories from the front
by zentara (Cardinal) on Jan 03, 2009 at 18:13 UTC
    Another thing to mull over, is that localhost is called a loopback device. So besides having localhost linked to your 10.... address in /etc/hosts, you have have to setup the network configuration to add the extra loopback device to what it listens to. Google for "ifconfig add loopback" for how to do it. You might need to add a route to the new loopback device, like " /sbin/route add -net 10.0.0.0" (untested) or something like
    ifconfig lo:1 10.0.0.1 route add -host 10.0.0.1 lo:1
    then when you do an ifconfig, you will see lo and lo:1 listed as loopback. But Solaris or the linux distro may add the route automatically at boot, or re-init'ing the network. So if in doubt, reboot after editing the /etc/hosts, unless you know how to restart the network on Solaris.

    And also, as atcroft suggested, you need to check the httpd server configuration file for the https request, to see that 10.0.0.1 is configured.


    I'm not really a human, but I play one on earth Remember How Lucky You Are