You are not logged in.
My own computer can't talk to itself. I can't use ping, nmap, or talk to any server on my own computer. However, I can access it from another computer on the same network perfectly, no restrictions, it works fine.
It's like this with all servers, so I doubt it's a single application configuration issue. I can connect to httpd from other computers on the same network, but connecting to localhost in firefox fails. I even wrote a simple echo server in Ruby and the same thing happened - works fine from the network, but fails on my own computer.
my /etc/hosts is just
127.0.0.1 localhost.localdomain localhost lapsertop
my /etc/hosts.deny is empty, save some comments.
my /etc/rc.conf has under networking
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0 wlan0)
ROUTES=(gateway)
gateway="default gw 192.168.0.1"
Have I set something up incorrectly, or is Arch taking DRM to a twisted new level?
Offline
I do not think it is Arch. I have built many arch boxes and never had a problem with that.
If you are trying to access the loopback from your browser try "http://localhost" if you have apache running in the machine it should take you to the default Apache page.
I wonder if you have some misconfiguration on your firewall (if you are running one) or a bad setting in Apache that is causing the problem.
R
Offline
I do not think it is Apache, as all other servers on the machine act the same way Apache does (brokenly).
Browsing to http://localhost just does nothing then eventually times out. But browsing to http://192.168.2.6 from another computer on my local network gives me the default Apache page.
Offline
Going to the machine's local address also goes to the right place for me as does going to 127.0.0.1 and localhost... and that's my point: something is mis configured in your system.
You seem to have wireless running in that system ... I wonder if something on that end is creating the problem.
Try disabling wlan0 and see if the problem is corrected, if it does you know where to start looking for the problem.
Hope this helps.
R.
Offline
And if u append
127.0.0.1 lapsertop
to your /etc/hosts
Are u listening?
Offline
ROUTES=(gateway)
gateway="default gw 192.168.0.1"
The gateway setting could be the cause of your problems.
You mention your pc gets ip-address 192.168.2.6 , yet your gateway is set to 192.168.0.1 , a different subnet.
Normally with dhcp the gateway is set automatically, try routes=(!gateway)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline