|
|||||||
| Notices |
| Port Forwarding How to forward ports on your router. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|
Hey guys, I have a 2wire router and i am attempting to set up a basic Web Server with Wamp... But it all goes good until i cant reach my site from the Internet.. I type in the public IP and nothing comes up. I tried Port Forwarding not sure if i did it right but nothing likes to work. The only possible i can reach my site is using my Internal Ip my private one and LocalHost and i know the server in online ready for viewers.. I would love to get this solved heres some info on my setup
Windows 7 , 2wire 2701hg-s Router and my ISP does not block port 80.. I checked ... If i can get some help with this it would be great. |
|
|
|
|
#2 |
|
Administrator
Join Date: May 2008
Location: Pigeon Forge, TN
Posts: 858
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks for posting the model number. That's a HUGE help for us!
Found this link http://portforward.com/english/route...BitTorrent.htm Skip the initial steps regarding BitTorrent. Then follow the steps pertaining to your router. Only difference will be you'll use TCP and port 80. There's also a spot for the firewall that looks like it'll need to be checked as well. I've played with Windows 7 briefly but know for a fact there is a firewall that comes installed with the O/S. You'll need to make sure that it allows port 80 requests to come through. Half the battle is done since you can pull up the page internally. Port forwarding looks like the obstacle here, but I'm sure we can get you up and running. Here's a good tool to help you determine if the port is open http://www.portforward.com/help/portcheck.htm |
|
|
|
|
#3 |
|
Member
|
Your Welcome and thanks for the quick reply.. I will check this out right away, Again thank You!
|
|
|
|
|
#4 |
|
Member
|
Its Forwarded and there still is no result on the Public side.. Its like the Public IP just rejects everyone
Excalibur-PC Web Server - TCP 80 Public IP 142.165.38.81 |
|
|
|
|
#5 |
|
Administrator
Join Date: May 2008
Location: Pigeon Forge, TN
Posts: 858
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
And the port check tool said port 80 was open?
Here's an alternate way to see if the port is open http://www.canyouseeme.org/ |
|
|
|
|
#6 |
|
Super Moderator
|
I just run nmap (a port scanner) from Linux on your IP address:
526 /home/rmills/WebKit> nmap -PN 142.165.38.81 Starting Nmap 5.00 ( http://nmap.org ) at 2009-12-23 15:36 PST All 1000 scanned ports on 142-165-38-81.msjw.hsdb.sasknet.sk.ca (142.165.38.81) are filtered Nmap done: 1 IP address (1 host up) scanned in 38.94 seconds 527 /home/rmills/WebKit> Who is doing the port forwarding here? If you have a modem and a router, put the modem into 'bridge' mode. This will make it a passthrough device and you'll have to configure the router to run PPPoE and do the port forwarding to apache. You'll need to know the LAN/IP address of your apache server which you can get with ipconfig (windows) or ifconfig (linux/mac). Robin |
|
|
|
|
#7 |
|
Member
|
I am doing the port forwarding I want 80 to be open to the public. And it says it's open in 2wires firewall ..
|
|
|
|
|
#8 |
|
Member
|
Also what's better to run a web server on Windows or Linux. . I have both so if it's more stable on linux i'd like to know
|
|
|
|
|
#9 |
|
Super Moderator
|
2Wires might say the port is open - however it's not visible from here. I can only think of 4 possibilities:
1) Your ISP (and you say he's not to blame) 2) Your modem 3) Your router 4) Your firewall (on the modem, the router or the server) -- you'll have to figure this out. 2Wires tech support may be able to help with your modem. I run Apache on Linux and on the Mac at home. It's fine. I've run Apache, IIS and Tomcat on Windows (not on the same port at the same time of course). They all work fine if you want a 'simple' web server to serve files (HTML, CSS, JS and images). However if you want to do server side programming, then you have to ask yourself if you want to use CGI (Apache), ASP (IIS), JSP (Tomcat) or something else. IIS is easy to configure with a GUI. Apache has to be configured in XML. I prefer Apache because I've figured out how to get Virtual Hosts (multiple web sites) to run on one server. I haven't figured that on IIS or Tomcat. I personally would go for Apache on Linux. It runs more or less out of the box and is quite easy to configure. Robin Last edited by clanmills; 12-23-2009 at 09:36 PM. Reason: added possibility (4) = firewalls |
|
|
|
|
#10 |
|
Administrator
Join Date: May 2008
Location: Pigeon Forge, TN
Posts: 858
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
We run both Windows and Linux boxes and both are very stable. Robin's right with IIS. Since it has a GUI, it's much easier to set up.
Both have their pros and cons. Linux will have a bunch of open source that will run right out of the box and cost very little to nothing. On the other hand, you can run a lot of things on Windows but need some tweaking and if something breaks with it (ie. php, or other linux intended script) support is sometimes limited so you'd need a bit of time to tool around and figure out why it's not working. Both systems are very stable/reliable. I guess it just depends on what sort of things you're going to want to host as Robin mentioned. |
|
|
|
|
#11 |
|
Member
|
Alright Point To Point Over Ethernet, I will try what you said in your post today and back to you later on
|
|
|
|
|
#12 |
|
Member
|
I think it's just Easier to open the router up to all ports instead of spending hours each day trying to solve this problem…Would DMOZ Mode be safe at all. . . I was not able to find out how to setup PPPOE And really am getting irratated the port tool says that 80 is open. But yet my public ip just gives everyone timeout responses and connection refused.... It's like anything I tell the router is being ignored by the OS .… sorry bout all the posts I just really want my home web server to be up and public I got a dns and domain well subdomain with DynDns....
Thanks a million , Jesse |
|
|
|
|
#13 |
|
Super Moderator
|
Jesse
It's not easy to get port forwarding to work - it takes quite a bit of determination and tenacity. I'm in California. We can talk on the phone if you like. You'll get my email address on clanmills.com We could talk on Skype, however when we're messing about with the internet, that's rather inconvenient. A word of caution - you'll have to deal with my Scottish accent. Robin |
|
|
|
|
#14 |
|
Member
|
Oh belive me I have noticed that it's not easy .. Trying to get my Shoutcast server up was the first encounter I've had with port forwarding. It took me three days to figure it out. Sure thing what's your sype Id
|
|
|
|
|
#15 |
|
Super Moderator
|
I am 'clanmills' on Skype
|
|
|
|
|
#16 |
|
Member
|
This is going to be really dumb lol but if i used my Private IP as my DNS host would , Would that open my pc to attacks?
|
|
|
|
|
#17 |
|
Super Moderator
|
If I understand your setup correctly, I think it's similar to mine. I have a name 'clanmills.homedns.org' registered with DynDns.com. So anybody can obtain my external IP address at any time with host or ping and use it to launch an attack on my network.
I only enable the port forwarding when I know it's going to be used. And I never put a machine into the DMZ. If you put XP+IIS into the DMZ, I believe its half life is about 10 minutes. I use JustHost.com to host http://clanmills.com. It's somebody else's headache to deal with security and it's up 24x7 for $4/month with unlimited storage and band-width. Last edited by clanmills; 12-25-2009 at 01:32 AM. |
|
|
|
|
#18 |
|
Member
|
Yep , Yea ive been looking at some hosts but most of the paid hosts put restrictions on your creativity and "Freedom" of content ... I want complete control lol.. My dns is netwolf.ath.cx
it was going to be a project page but well im at a loss on what to do to get it up and to the public because the basics of hosting dont even wanna work for me.. A single ip pointing to my pc lol |
|
|
|
|
#19 |
|
Super Moderator
|
It's working!
510 /Users/rmills/clanmills/images> nmap netwolf.ath.cx Starting Nmap 5.00 ( http://nmap.org ) at 2009-12-24 16:28 PST Interesting ports on 142-165-38-81.msjw.hsdb.sasknet.sk.ca (142.165.38.81): Not shown: 998 filtered ports PORT STATE SERVICE 25/tcp closed smtp 80/tcp open http Nmap done: 1 IP address (1 host up) scanned in 20.55 seconds 511 /Users/rmills/clanmills/images> When I put http://netwolf.ath.cx into my browser I get something about "get your right foot out of ...." and then I'm redirected to opendns.com |
|
|
|
|
#20 |
|
Member
|
..Working? ... Yes i know but on my end i cant see nothing at all.. It gives me a connection refused and or timeout thingy .. odd, So i cant access my own host name from my own pc.
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|