Results 1 to 10 of 10

Thread: [SOLVED] live web server?

  1. #1
    Join Date
    Mar 2008
    Location
    Somerset, NJ
    Beans
    147
    Distro
    Ubuntu 11.04 Natty Narwhal

    [SOLVED] live web server?

    Hi-

    I know this is a dumb question, but I can't even find the documentation for this kind of thing. I'm new to server stuff, and I wanted to test some software, and was able to have http://localhost work and everything. But now I want that to be accessible to other machines via the IP address of the machine. I can't figure out how to do this. And all of the guides I've found seem to end with "Setting it up to run locally".

    If anyone could help or point me in the direction of documentation, it would be much appreciated.

    -Melissa

  2. #2
    Join Date
    Aug 2006
    Location
    Yellowknife
    Beans
    878

    Re: live web server?

    There aren't any particular steps you have to take to make the apache server accessible to other computers, assuming you installed it in a fairly typical way (synaptic, apt-get, etc.) All you should need is a working network.

    What currently happens if you type in the IP address of the server from another machine? If you get a connection refused type error, can you confirm that the machines can ping each other?

    If they can't, can you confirm that the computers are on the same subnet? Use ifconfig on linux and ipconfig on windows. If your network mask is 255.255.255.0, make sure that the IP address of each computer differs only in the last number (ie, 192.168.1.1 and 192.168.1.2 but NOT 192.168.1.1 and 192.168.0.2)

    I gotta go smack down a photocopier now. I'll be back.
    Last edited by decoherence; July 30th, 2008 at 01:19 PM. Reason: more suggestions

  3. #3
    Join Date
    Apr 2008
    Location
    /home/ibutho
    Beans
    1,365

    Re: live web server?

    If you want to access the webserver from another machine, just enter the IP address of the server in a web browser from the other computers.

  4. #4
    Join Date
    Nov 2006
    Location
    40.31996,-80.607213
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: live web server?

    You can install XAMMP:
    http://php.8ez.com/drsmall/blog/?p=96

    But as long as it is running locally and you have a firewall with rules set, you just meerly need to open port 80 inbound in the firewall rules, and then others on your network should be able to connect.
    "Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
    Linux User #441960 | Wiki: DrSmall

  5. #5
    Join Date
    Mar 2008
    Location
    Somerset, NJ
    Beans
    147
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: live web server?

    I can't access it by using the IP of the machine on another box. It might be because of the security measures at work.

  6. #6
    Join Date
    Mar 2007
    Location
    Norway
    Beans
    11
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: live web server?

    The issue you are most likely to experience problems with would be port forwarding (if you have a router, that is).

    Take a look at http://www.portforward.com/english/r...outerindex.htm for various guides for your router (if you have one).

  7. #7
    Join Date
    Nov 2006
    Location
    40.31996,-80.607213
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: live web server?

    Quote Originally Posted by melrom View Post
    I can't access it by using the IP of the machine on another box. It might be because of the security measures at work.
    Is port 80 opened on your machine?
    "Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
    Linux User #441960 | Wiki: DrSmall

  8. #8
    Join Date
    Mar 2008
    Location
    Somerset, NJ
    Beans
    147
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: live web server?

    thanks. sounds good.

    turns out http wasn't trusted via my firewall.

    thanks for your help everyone!
    Last edited by melrom; July 30th, 2008 at 01:20 PM.

  9. #9
    Join Date
    Apr 2007
    Location
    akron, OH
    Beans
    2,158
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: live web server?

    Are you wanting to access the server from outside the network, like access the server at home from work?

  10. #10
    Join Date
    Mar 2008
    Location
    Somerset, NJ
    Beans
    147
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: live web server?

    Quote Originally Posted by Seisen View Post
    Are you wanting to access the server from outside the network, like access the server at home from work?
    no, no. just inside the network. i got it though, so it's working now.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •