Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-26-2011, 12:09 AM   PM User | #1
votter
Regular Coder

 
Join Date: Oct 2009
Location: United States
Posts: 149
Thanks: 7
Thanked 4 Times in 4 Posts
votter is on a distinguished road
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
__________________
Adobe Dreamweaver shall be destroyed!

Last edited by votter; 05-26-2011 at 12:18 AM..
votter is offline   Reply With Quote
Old 05-26-2011, 12:27 AM   PM User | #2
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
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.
Inigoesdr is offline   Reply With Quote
Old 05-26-2011, 02:44 AM   PM User | #3
votter
Regular Coder

 
Join Date: Oct 2009
Location: United States
Posts: 149
Thanks: 7
Thanked 4 Times in 4 Posts
votter is on a distinguished road
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.
__________________
Adobe Dreamweaver shall be destroyed!

Last edited by votter; 05-26-2011 at 02:53 AM..
votter is offline   Reply With Quote
Old 05-26-2011, 02:38 PM   PM User | #4
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
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.
Inigoesdr is offline   Reply With Quote
Old 05-26-2011, 03:25 PM   PM User | #5
votter
Regular Coder

 
Join Date: Oct 2009
Location: United States
Posts: 149
Thanks: 7
Thanked 4 Times in 4 Posts
votter is on a distinguished road
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!
votter is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:37 PM.


Advertisement
Log in to turn off these ads.