Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im developing a website that uses a facebook app that only works when the site is externally accessible. So when the site is on a server everything works fine. When im developing locally the app doenst work. How can I make my local development environment externally accessible?

Im using MAMP and my home ISP is Sky.

Ive tried the following from a tutorial but I dont really know if im on the right track or not. Ive registered for an account with and set up a hostname When I navigate to in my browser I can see the router's start page. However when I look at the url 'externally' with the message I get is 'The requested resource could not be loaded.'.

As I understand (Im not sure that I do), I need to make my router externally accessible which I was trying to do with the steps above. Then I need to direct the webpage requests to my computer to see it's localhost. Is this at least correct?

share|improve this question
up vote 0 down vote accepted

You've setup dyndns. If you open, and if you ping to your personal dyndns address, you should see the same ip address. I don't know why you see the page of your router. That sounds like a security problem. The router should not show anything, because it should not be possible to access the router admin via an outside ip address. Maybe you've set the router to allow this, I think it's not good practise. Maybe your provider has done this?

You need to set portforwarding in your router. The router should send traffic from the outside for port 80 (HTTP) to your computer, or to the (local) IP address of your computer, whatever port MAMP is using for HTTP. Now it just ignores that traffic. Your computer firewall should allow this traffic, but it probably does already.

  • Computer from outside world sends request to your IP via HTTP, port 80
  • Router receives request and sees it has portforwarding for port 80
  • Router forwards traffic to computer (your local computer ip address), port 8888
  • Local computer receives request at port 8888, and sends it to MAMP Apache
share|improve this answer
"You've setup dyndns. If you open, and if you ping to your personal dyndns address, you should see the same ip address" I can see my IP address with, what should this be the same as? – Evans Nov 20 '13 at 11:43
I only see the router's page when I type in my IP address into the browser locally. When I enter it with hidmyass (effectively externally) then there is no page. Is this a security issue? You said "it should not be possible to access the router admin via an outside ip address" but its not. – Evans Nov 20 '13 at 11:45
Im trying to set port forwarding in the router from these instructions:… How do I find out what my start and finish port should be from this step:… – Evans Nov 20 '13 at 11:49
It might depend on the browser. It knows its outside ip address and might catch local traffic to that. If you cannot access the router admin via an outside ip address, then it's OK. – SPRBRN Nov 20 '13 at 11:50
Start port for HTTP is 80, from the outside world. MAMP may use 8888. If you use something like localhost:8888 for opening MAMP pages, then it's 8888. With ipconfig (Windows) or ifconfig (MAC/Linux) you can see what ip address your computer has in the local network. – SPRBRN Nov 20 '13 at 11:52

You must log in to answer this question.

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