0

I have two major issue with setting up a web server using my dlink DIR-600L router.

Issue 1:

I run a WebPy server on port 8080. But the DDNS service providers (like dlinkddns.com or dyndns.org) only allows port 80. I can run the server in port 80 with sudo command. But my server become vulnerable if i give root access. So I tried port forwarding in the router and server. But no use. I don't know if I done that correctly.

Issue 2:

Even though the server runs on port 80, I can access my site from my local machines only using registered domain names ( say, nikz.dyndns.org). No one on internet cannot load this site even when its totally up. As I observed server log, the request from other clients never reached my server.

I need to run this server on port 8080 and i need to access this site from internet. How can I do it? any idea?

3
  • @j0k Do you know any solutions for this?
    – nuke1010
    Commented May 14, 2013 at 18:56
  • Better suited for Superuser, this is consumer grade hardware.
    – Dan
    Commented May 14, 2013 at 19:04
  • I registered "nikz.dyndns.org". When my router is on, the site go up. But it is only available inside my local network. Any idea why i can't access it from internet outside my LAN?
    – nuke1010
    Commented May 14, 2013 at 19:07

2 Answers 2

0

I don't really know much and you may have already tried the below but it sounds like its most likely a dns issue or maybe a server firewall issue. I would probably try to test each component separately.

Test nslookup both internally and externally to see if it resolves to the correct wan address. It might be resolving to a private ip address instead. If the external nslookup is not showing your wan ip address then there is a problem with the dyndns setup.

Test to make sure the webserver can accept connections by trying to connect to it locally. It sounds like that part is already working but just to double check that your server's iptables rules is correct.

You can also put a simple to set up web server on a windows machine with the firewall in that machine set to off just to see if connections get through. If it works from the outside then you would know your router configuration is correct and the dyndns is working.

1
  • I already checked the last 2 cases and found no issues with firewall or web server. I know the command 'nslookup'. But as I haven't done the first test ever before, can you please tell me how to do the nslookup, externally and internally?
    – NikzJon
    Commented May 15, 2013 at 14:00
0

It's mostly because your home network blocks port 8080. You have no choice but to sign a new line or ask them help open port 8080.

1
  • How did you determine that his ISP was blocking port 8080 based on the information provided? I'd lean toward their router providing a non-routing DHCP address and OP trying to register the non-routing IP address with dyndns.org. Commented May 27, 2014 at 1:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .