• March 28, 2024, 01:53:36 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Cannot forward PORT 80 to my local server  (Read 9368 times)

mauro.mascarenhas

  • Level 1 Member
  • *
  • Posts: 6
    • Nintersoft
Cannot forward PORT 80 to my local server
« on: May 20, 2017, 10:45:30 PM »

Hello,

I'm having a issue with port forwarding, specifically the 80 one.
The problem is: I am testing a webserver with my local computer (an WordPress installation), so I need the PORT 80 to make my site available to everyone.
Then, I have followed this guide (I know it is outdated, but the concept remains the same), but unfortunately it does not work. With any other port it works like a charm, so I have something like this: myserver.dlinkddns.com:8080, but I do not want this ":8080" in the end of the URL, once it is quite "ugly" and the convention is that HTTP servers must be on PORT 80, so it can be ommited in the URL bacoming something like myserver.dlinkddns.com.
In the beginning I though it was due to the configuration interface, but it is only lfor local use(192.168.0.1) [LAN]. Does anybody know what can be causing this issue?

Since now, thanks a lot.

Yours faithfuly,
Mauro Mascarenhas.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Cannot forward PORT 80 to my local server
« Reply #1 on: May 20, 2017, 10:51:01 PM »

Link>Welcome!

  • What Hardware version is your router? Look at sticker under the router case.
  • Link>What Firmware version is currently loaded? Found on the routers web page under status.
  • What region are you located?

I presume it maybe due to the issue of D-Link routers don't support loopback.
List of NAT Loopback Supporting Routers
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

mauro.mascarenhas

  • Level 1 Member
  • *
  • Posts: 6
    • Nintersoft
Re: Cannot forward PORT 80 to my local server
« Reply #2 on: May 21, 2017, 09:33:13 AM »

Hi, thank you for answering to my question.

Well, here is the data:

Router :DIR-615 T1
FW :20.06
Region :South America (Brazil)

After looking at the list, I have not noticed this device present there. Nevertheless, the port 8080 does work after configuring it in "Advanced->Virtual Server" and entering the following data:

Service nameWEB
Protocol :TCP
WAN PORT :8080
Open LAN PORT :80
LAN IP address :192.168.0.101

192.168.0.101 is a attached to MAC address to avoid conflicts (static).
Then, if I access the 8080 port outside my house it works fine, but if I use 80 port nothing happens.
Furthermore, I have another router (DIR-600 C1) which is in the list you have just sent, but it does not work too.

Since now, thank you a lot.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Cannot forward PORT 80 to my local server
« Reply #3 on: May 21, 2017, 10:58:56 AM »

I presume Virtual Server will help for remote access.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

mauro.mascarenhas

  • Level 1 Member
  • *
  • Posts: 6
    • Nintersoft
Re: Cannot forward PORT 80 to my local server
« Reply #4 on: May 21, 2017, 11:16:31 AM »

I presume Virtual Server will help for remote access.

Sorry? I could not see your point.

--- EDIT ---

I have just upgraded the FW to v20.11 but the problem still persists.

I have also used this tool (http://canyouseeme.org/) and as expected, the port 8080 worked, but the 80 gets connection timed out. Any suggestion?
As I have just said before, when using my DIR-600 I get the same problem.
« Last Edit: May 21, 2017, 11:28:06 AM by mauro.mascarenhas »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Cannot forward PORT 80 to my local server
« Reply #5 on: May 21, 2017, 11:21:52 AM »

That are your firewall settings set for?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

mauro.mascarenhas

  • Level 1 Member
  • *
  • Posts: 6
    • Nintersoft
Re: Cannot forward PORT 80 to my local server
« Reply #6 on: May 21, 2017, 11:33:03 AM »

That are your firewall settings set for?

Yes, those are the settings for my server ("Advanced->Virtual Server" for DIR-615 and in "Advanced->Port forwarding" in DIR-600 ):


Service nameWEB (HTTP in DIR-600)
Protocol :TCP
WAN PORT :8080 (8080~8080 in DIR-600)
Open LAN PORT :80 (80~80 in DIR-600)
LAN IP address :192.168.0.101

and:


Service nameWEB (HTTP in DIR-600)
Protocol :TCP
WAN PORT :80 (80~80 in DIR-600)
Open LAN PORT :80 (80~80 in DIR-600)
LAN IP address :192.168.0.101

However just the first configuration is working. In addition to that, my system does not have any blockage (it is a linux server - BITNAMI Stack).
« Last Edit: May 21, 2017, 11:36:42 AM by mauro.mascarenhas »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Cannot forward PORT 80 to my local server
« Reply #7 on: May 21, 2017, 04:08:06 PM »

so all is accessible from the wan side now not from the LAN side right?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Hard Harry

  • Guest
Re: Cannot forward PORT 80 to my local server
« Reply #8 on: May 21, 2017, 05:50:33 PM »

Who is the ISP? Most block incoming port 80 to stop people from running web servers if it is against their Terms of Service(ToS). It sounds like your does too, which means they probably don't want you having a website long term on your service. Before figuring out how to fix the problem, you might want to ask them what they allow first.
Logged

mauro.mascarenhas

  • Level 1 Member
  • *
  • Posts: 6
    • Nintersoft
Re: Cannot forward PORT 80 to my local server
« Reply #9 on: May 21, 2017, 06:29:43 PM »

so all is accessible from the wan side now not from the LAN side right?

Not actually, on the LAN side it is working fine (tested from mobiles and other computers connected to the home network - http://192.168.0.1/ - did not need to include the port because is already in the conventional one (80) at the server), but it is not working on WAN side (it only redirects from PUBLIC_IP:8080 to 192.168.0.101:80, but not from PUBLIC_IP:80 to 192.168.0.101:80).

Who is the ISP? Most block incoming port 80 to stop people from running web servers if it is against their Terms of Service(ToS). It sounds like your does too, which means they probably don't want you having a website long term on your service. Before figuring out how to fix the problem, you might want to ask them what they allow first.

Thanks for the suggestion, but after checking it fortunately I found that my ISP (NET Virtua) does not block port 80, but I have also found lots of people with the same ISP complaining about it. I'm going to check it and then return here.

--- EDIT ---
Well, unfortunately Hard Harry is right. after run a test at https://www.grc.com/x/ne.dll?rh1dkyd2 it showed me that standardized ports are blocked here (which is illegal in Brazil). Thank you for the suggestion and sorry for the incovenience. Now I am going to claim them to make those ports available to me.
« Last Edit: May 21, 2017, 07:40:00 PM by mauro.mascarenhas »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Cannot forward PORT 80 to my local server
« Reply #10 on: May 25, 2017, 09:52:01 AM »

Good Luck.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

mauro.mascarenhas

  • Level 1 Member
  • *
  • Posts: 6
    • Nintersoft
Re: Cannot forward PORT 80 to my local server
« Reply #11 on: May 25, 2017, 05:23:38 PM »

Good Luck.

Well, thank you.
You can already mark this topic as resolved. Thank you a lot for the given support.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Cannot forward PORT 80 to my local server
« Reply #12 on: May 26, 2017, 09:12:27 AM »

Good Luck.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.