Computing.Net > Forums > Web Development > apache on a LAN

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

apache on a LAN

Reply to Message Icon

Name: travisc_o
Date: March 15, 2005 at 10:08:14 Pacific
OS: 2k Pro/XP Pro
CPU/Ram: (1.3ghz&512mb)/(1.5ghz&1g
Comment:

hello, all. id like to begin by saying that im SURE that im overlooking something simple...

i have installed the latest version of apache on a win2000 pro machine that exists on a small lan (these machines go directly to a linksys router then out to a DSL modem).

when i test the installation (http://localhost) on the w2k machine i see the apache page in my browser, no problem.

when i go to my xp machine on the lan and try http://localhost (or 127.0.0.1) i get an error saying the connection was refused. i even tried specifying the port (80) along with the localhost ip.

i do use a zonealarm firewall on both machines, and both are configured to allow access from the machines on the network and from apache. ZA even shows me that apache is listening on port 80 as an 'allowed' process. besides... even when i turn the firewall (on both machines) off i get the same result.

what am i overlooking? please help.

thanks in advance!

travis



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: March 15, 2005 at 12:27:03 Pacific
Reply:

Yes, it is something very simple.

Localhost or 127.0.0.1 is the IP address of EVERY computer! When you are on the XP machine 'Localhost' is the XP machine.

You should be able to connect to the 2000 webserver by either of the following:

http://xx.xx.xx.xx (where xx.xx.xx.xx is the IP address of the 2000 machine)

or

http://ComputerName (Where ComputerName is the name of the 2000 computer)

Michael J


0

Response Number 2
Name: travisc_o
Date: March 15, 2005 at 12:39:04 Pacific
Reply:

i was sort of aware that that might be the issue. i did, in fact, try the ip of the win2k machine (and again, i also tried specifying the port), but with the same result. im not sure i had apache correctly configured at that point, however.

instead of using 'localhost' when you set up apache, is it possible to use the machine's ip?

travis


0

Response Number 3
Name: travisc_o
Date: March 15, 2005 at 14:55:08 Pacific
Reply:

ok... when i try connecting to apache from the xp machine using the ip for the w2k machine i get the following message:

You have chosen to open

which is a: application/octet-stream
from: http://192.xxx.xxx.xxx (the machines ip)

then it gives me the option to save the file (named 3u7y0n0j)

what am i screwing up?

travis


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: apache on a LAN

Apache/LAN problem www.computing.net/answers/webdevel/apachelan-problem/2480.html

Link to files outside Apache on PC www.computing.net/answers/webdevel/link-to-files-outside-apache-on-pc/3383.html

fix a site on a specify computer www.computing.net/answers/webdevel/fix-a-site-on-a-specify-computer/2112.html