LAMP on a local network

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Geoff Blake

    LAMP on a local network

    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.


  • Colin McKinnon

    #2
    Re: LAMP on a local network

    Geoff Blake wrote:
    [color=blue]
    > 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.
    >[/color]
    <snip>[color=blue]
    >
    > 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"
    >[/color]
    <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.

    Comment

    Working...