Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Location
    United States
    Posts
    157
    Thanks
    8
    Thanked 4 Times in 4 Posts

    Getting Apache viewable to others

    Hello everyone. I recently have been trying to work with apache server to get webpage online, so that I know how to when I would like to make a site live.

    But I don't seem to be able to get it. I've tried port forwarding on the router, setting permissions on the firewall, disabling avg resident shield, turning firewall off, etc... But I don't seem to be able to get it. I know some ISPs block ports, so I have tried others besides 80, but still can't seem to get anything going with a port.

    I have a linksys WRT54GS2 router.

    If any screen shots or anything would help, just let me know and I'll post some.

    Thanks again,

    Robert
    Last edited by votter; 05-26-2011 at 12:18 AM.
    Adobe Dreamweaver shall be destroyed!

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,638
    Thanks
    2
    Thanked 404 Times in 396 Posts
    Can you access your site locally on the machine with the server? If so the problem is likely with your router not forwarding traffic to/from the server on port 80. Some chat programs(skype for instance) bind to port 80, so make sure they aren't blocking Apache from listening. Also, check your httpd.conf and make sure you are listening on the correct ip/port.

  • #3
    Regular Coder
    Join Date
    Oct 2009
    Location
    United States
    Posts
    157
    Thanks
    8
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by Inigoesdr View Post
    Can you access your site locally on the machine with the server? If so the problem is likely with your router not forwarding traffic to/from the server on port 80. Some chat programs(skype for instance) bind to port 80, so make sure they aren't blocking Apache from listening. Also, check your httpd.conf and make sure you are listening on the correct ip/port.
    Yes, I can access it by localhost, and localhost:8080, since I am trying port 8080 also.

    About listening for the correct ip/port, do I need to specify both? And if so, do I put the external ip there, or internal?

    Edit: I've tried doing my external ip:8080, in the browser, and listening for it, but it just gets the could not connect thing.
    Last edited by votter; 05-26-2011 at 02:53 AM.
    Adobe Dreamweaver shall be destroyed!

  • #4
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,638
    Thanks
    2
    Thanked 404 Times in 396 Posts
    Quote Originally Posted by votter View Post
    About listening for the correct ip/port, do I need to specify both? And if so, do I put the external ip there, or internal?
    Use just the port to have Apache bind to the default IP, or specify your internal IP. As I stated before, if you can access it via localhost and you have turned off your firewalls the problem is most likely that your port forwarding isn't setup properly.

  • #5
    Regular Coder
    Join Date
    Oct 2009
    Location
    United States
    Posts
    157
    Thanks
    8
    Thanked 4 Times in 4 Posts
    I am listening to this in the apache httpd.conf file.

    Listen 80

    And this is how I am forwarding in my router:

    http://s341.photobucket.com/albums/o...=Linksys-1.png

    Is the picture of my router port forwarding.

    And I have turned windows firewall off.

    I have also tried like 8080 and stuff, so I am guessing I am just missing something small somewhere.
    Adobe Dreamweaver shall be destroyed!


  •  

    Posting Permissions

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