Forum OpenACS Q&A: Can't access AOLserver through eth0 on localhost
I have a LAN at home that consists of a web server (192.168.1.10) and a workstation (192.168.1.11). Access to the internet is made through a masquerading firewall with the LAN interface address 192.168.1.1. Both hosts on the LAN can reach the internet, so that's cool. Before I deal with any necessary port forwarding, I figured I should get things working to the degree that I could connect to AOLserver from any host on the LAN, but I can't! The hostname of the web server box is "hal.infogettable.net" and when AS is configured to listen on 127.0.0.1 port 80 it works as expected, but when it's configured as below, it won't. Not even from the web server host itself.
set hostname hal.infogettable.net set address 192.168.1.10 /etc/sysconfig/network-scripts/ifcfg-eth0 looks like this: DEVICE=eth0 IPADDR=192.168.1.10 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.1 ONBOOT=yes /etc/resolv.conf looks like this: search hal.infogettable.net infogettable.net nameserver 127.0.0.1 nameserver 18.104.22.168 nameserver 22.214.171.124Thankful for any help,
127.0.0.1 hal.infogettable.net localhost 192.168.1.10 hal.infogettable.netIt seems OK to me.
I might add to the story that I *am* able to ping the hostname and IP of the web server box. I've also got a primary DNS running but still have to bring to life a secondary...
I just have to set the hostname to the ip-address as below:
set hostname 192.168.1.10 set address 192.168.1.10Now I can reach my web server internally from any machine on my LAN😊
Thank you very much Walter!