By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,407 Members | 1,473 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,407 IT Pros & Developers. It's quick & easy.

LAMP on a local network

P: n/a
Hi

I'm new to all this and I am trying to set up a web sever over a local
network. I currently have two boxes attached via a switch. Box 1 is
configured with windowsXP and the other with Fedora3.

The linux box has Apache installed and appears to be running ok. When I use
IE to access the site I get the response : "Page cannot be displayed" or
"The web page you requested is not available offline" depending what is
entered in the address control.

On the Linux box, if I use the command netstat -atn, this shows a host
192.168.123.10 listening on port 80

In the terminal window on the XP box, (192.168.123.12) when I ping
192.168.13.10 I get a successful response. If I telnet 192.168.123.10 80 I
get "could not open connection to the host on port 80:connect failed"

Does anybody have any suggestions /commands that will help me resolve this.

Also does anyone have a link to a good article recommending a development
set-up that includes the physical configuration as well as development tools
for a first timer.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Geoff Blake wrote:
Hi

I'm new to all this and I am trying to set up a web sever over a local
network. I currently have two boxes attached via a switch. Box 1 is
configured with windowsXP and the other with Fedora3.
<snip>
On the Linux box, if I use the command netstat -atn, this shows a host
192.168.123.10 listening on port 80

In the terminal window on the XP box, (192.168.123.12) when I ping
192.168.13.10 I get a successful response. If I telnet 192.168.123.10 80
I get "could not open connection to the host on port 80:connect failed"

<snip>

Not a PHP question.

If it's listening but you can't connect then probably the connections are
being dropped by the firewall. Try running a web browser on the FC3 box
(IIRC RH comes with links as standard which will run in a terminal
session).
Alternatively, you could try (as root):
iptables -F
this will remove all the rules from the firewall.

Obviousl;y you'll want to have a working firewall but this should allow you
to confirm where the problem is.

HTH

C.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.