The outside public can not view my localserver website
Posted by: xskripts (---.sta.embarqhsd.net)
Date: February 13, 2008 05:32AM

I am using WAMP5, I have a D-Link Router which I coded with my static IP Address and other information. I am also running a network with 2 pcs, Windows XP SP2 on both. However I can not seem to configure my seetings correct to allow public access. My WAMP5 has all services running and is online. Can someone please give input on the things I might need to check. I called tech support for my D-Link router they had me configure my router settings for a http server however it is still no go. When using a router will Apache still listen to port 80?


Thanks,

Also I have configured my httpd.conf with the ip address that my pc has that is running WAMP5
I can access my server locally by entering my ip address or by using localhost I even have an alias which is working locally too. The outside public can not view anything.



Edited 1 time(s). Last edit at 02/13/2008 05:36AM by xskripts.

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: yfastud (Moderator)
Date: February 13, 2008 05:44AM

Check SetupVirtual Hosts and Setup LAN & Worldwide Access on my personal websites

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 13, 2008 07:43PM

ok, I have wamp 5.1, belkin wireless G (F5D7230-4) router, Windows Xp SP2, connecting to internet through a wireless radio vpn. I have setup port forwarding on the belkin (80) to 192.168.2.5 (internal ip of the pc with wamp). I have a non static ip, but got a dynamic dns from dyndns.com, i know I will have to change the ip every so often. Added the exception for http (80) on the firewall on the "server". wamp is online and running, I can access it from my other pcs (behind the router) by internal ip and the dynamic dns. but if I go to a proxy page, such as [www.allowu.com] and I keep getting "connection refused" messages. I don't know if it's something I need to change in my httpd.conf in apache or what, any help you could provide would be greatly appreciatedsmiling smiley


Thanks in advance

~Jas

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 13, 2008 07:47PM

kinda confusing,,,


first of all use no-ip at no-ip.com. it automatically checks ur ip and changes it, secondly i would not use port 80


most isp's block port 80. so even if u get it right it will block it, use port 8080

in no-ip select a free domain name and use there port forwarding.

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 13, 2008 07:56PM

okies, sorry about the confusion. I created a dns at no-ip. Am switching my settings to 8080. Is there something in apache that i need to change to port 8080 as well?

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 13, 2008 08:04PM

yes. in ur httpd file you need to go doen to the line-

listen 80


and change it to

listen 8080


or i would reccoment changing it to

listen 192.168.2.5

as this means its listening to only a single ip address and not a while port.
in your router allow port forwarding/pinhole on port 8080 and fill in ur ipaddress to forawrd it to


need anymore help just ask

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 13, 2008 08:10PM

awesome, tysmiling smiley

in the httpd, the line "ServerName" i should set that to my newly created dns:8080, correct?

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 13, 2008 08:23PM

kinda
set
servername to your ip

Servername 192.168.2.5




or watever ur ip is


dont add 8080 to the end

no ip will do this for u to get it thru ur router

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 13, 2008 08:44PM

hrmm, still connection refused, also not accessible on lan eithersad smiley

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 13, 2008 08:50PM

ok well just change the listen to 80 again

i once had this problem and 80 worked



just make sure servername is the ip of the computer with wamp running

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 13, 2008 11:38PM

lol okies, back to where I started, but with a different dns... using port 80 i can reach the site on the pcs behind the router, but no outside trafficsad smiley

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 13, 2008 11:41PM

then ur router is not letting it thru. u have a pinhole set up to allows it thru?

ping ur ip address and see wat happens
tuen on trace and see where it fails

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: yfastud (Moderator)
Date: February 14, 2008 12:04AM

If using LAN ip, you can only access your websites w/i your LAN; to access from outside, you have to use web ip which can be checked w/ this website whereismyip.com

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 14, 2008 12:45AM

@steve, sorry, but not sure what a pinhole issad smiley and the ping comes back fine...

@yfastud, my dynamic dns from no-ip.com is using my web ip and is redirecting to port 8080.

I have port 8080 and 80 forwarded to the correct pc on my router.

in httpd.conf in apache i have:

listen 192.168.2.5:8080 (if I take off the 8080 it wont start apache service)

ServerName 192.168.2.5

I also even went as far as to add my dns name to my hosts file in windows/system32/drivers/etc/host

If I type in my dns on lan pc it does not work, if I type in mydns:8080 it does, but it still does not work on the proxy pagesad smiley


Cheerssmiling smiley and thank you guys for bearing with me, Seems like I always have to learn everything the hard way...lol

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: yfastud (Moderator)
Date: February 14, 2008 01:03AM

Correct me if I'm wrong, proxy will, as far as I know, create a new port attach to your domain to become your_domain:proxy_port and since you've already use port w/ your domain, so it doesn't work as your_domain:port:proxy_port :-(

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 14, 2008 01:11AM

not sure, but if that is correct, then I can see why it wouldn't work...lol

my dns is jaswow.zapto.org

if you would be willing to see if you can connect to it from there i would be greatly appreciativesmiling smiley

I have no-ip set to redirect it to port 8080, but not sure what will/won;t work as far as the address... jaswow.zapto.org:8080 works on my lan, but not jaswow.zapto.org

btw i did download and install the auto updating proggy for no-ip so my non static ip would be corrected when it changes, Very nice feature, thx Stevesmiling smiley

thanks in advance!

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 14, 2008 01:17AM

ur httpd file is wrong!


ur listen should be just a port

i may have confused u before


listen 80
listen 8080



use both just in case

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: Jasmindria (216.69.241.---)
Date: February 14, 2008 01:25AM

okies, changed my Listen to only
Listen 80
Listen 8080

now on my Lan jaswow.zapto.org works still nothing on the proxy, but after thinking about what yfastud said, i can understand that.


Thanks guys - will keep you updatedsmiling smiley

Options: ReplyQuote
Re: The outside public can not view my localserver website
Posted by: joma4real (---.206.13.3.vgccl.net)
Date: August 02, 2011 02:34PM

I found this solution online and it worked like magic for me and i couldnt keep this to my self.

Look for a line in the httpd.conf that has
#Listen 12.34.56.78:80
Listen 80

And replace the 12.34.56.78 with the IP address on the machine running Wampserver

Start all services in the wamp server and It should work.


note that 12.34.56.78 is used with regards to my system so urs might be different.

Enjoy....

Options: ReplyQuote


Sorry, only registered users may post in this forum.