Skip to main content
November 2, 2006
Question

Accessing my coldfusion server via my computers external ip address

  • November 2, 2006
  • 18 replies
  • 2198 views
Hello all;
I just got a new computer and i need help setting up my coldfusion server so that it is accessable to others via my computer's external ip address (as received from whatismyip.com). My server is configured and working ( http://127.0.0.1:8500/ displays its root directory just fine) and i already set up port forwarding on my router; but http://my-external-ip:8500/ still doesn't work (times out). It worked on my old computer so i know it is possible; but there must be something I am forgetting to do. Btw I am using coldfusion MX 7 on a windows XP machine.
Any help you could offer would be very much appreciated. Thank you very much.

---Skotopia
This topic has been closed for replies.

18 replies

Participating Frequently
November 2, 2006
No problem.

From your CF Server's perspective, there's absolutely no difference between coming from inside your router, to coming from outside your router, unless you have a firewall on the CF server that is blocking requests based on IP address. If not, then either you're trying to go to the wrong IP address from outside, or your router isn't setup right to do the port forwarding (but what you posted sounds correct).

Good luck.
November 2, 2006
Yes I can go to that address and it works; and yes the diacram you drew is correct. Now i dont think its the ISP; because it hasn't changed from my old computer (which had this working) and my new computer. I am not currently at home so i can't check my Linksys page at present. Thanks.

---Skotopia
Participating Frequently
November 2, 2006
That sounds right. So within your network (ie, behind your Linksys router) you can go to http://192.168.1.101:8500 and it works?

The only other possibility is that your ISP is blocking incoming port 8500, which seems unlikely.

Just to be sure, the connection from your CF server to the internet is as follows:

CF Server --- Linksys Router --- Cable/DSL Modem --- Internet

When you're on the Linksys router setup page, what's listed as its external address? is that the same address you get from whatismyip.com?
November 2, 2006
Hmm okay thanks for the help; let me explain what i did with my router; and you can tell me what i'm doing wrong ;)

In my browser i go to the default gateway ip address listed form ipconfig to access my linksys router. I go to the "Applications Gaming Tap" and then the "Port forwarding" subtab. Then I fill out one of the rows as follows:

ColdFusion Start: 8500 to End: 8500 Protocal: Both IP Address: 192.168.1.101 (internal address from ip config) and then check the enable box.

Then I save the settings of course. Now; this is what i thought I had to do; is there something else? Thank you again very very much for all your help.

--Skotopia
Participating Frequently
November 2, 2006
Nope. There is no setting you need to change on the CF server if it's working from within the internal network.

Reasoning:
It works if you request, from within the internal network, http://internalCFServerIP:8500
It times out if you request, from outside the internal network,
http://externalIP:8500
Therefore, the CF server is setup to listen to connections outside of itself (127.0.0.1) because it successfully responds to requests from the local subnet.

You need the router to be configured to forward requests for externalIP:8500 to internalCFServerIP:8500. Obviously it isn't setup correctly.
Participating Frequently
November 2, 2006
If it works from inside your router, then you have port forwarding setup incorrectly.
November 2, 2006
Hmm; that does make sense; but It seems I have the port forwarding set up properly; I even had the IT dept. of my job confirm that it is. Perhaps in the coldfusion admin there is some sort of IP forwarding i have to set up; so that when a request comes in from the external ip address it knows to forward it to my internal ip address; does that make any sense? Thanks.

--Skotopia
Participating Frequently
November 2, 2006
are you trying to go to http://externalip:8500 from outside your router? or are you trying to go to that URL on the same internal computer?

Some routers don't support going to an external IP that's forwarded from within the router.

If you're trying to go to it from outside, are you sure you have port forwarding on your router setup correctly?

Do you have another computer on your internal network where you could try going to http://internalip:8500 to take the router out of the picture?
November 2, 2006
Hello;

I am trying to reach http://externalip:8500 from outside my router (though also inside for testing). Also note that if i go to
http://internalrouterIP:8500 fromy my computer it works. I have my router set up and i know that my router supports what i want to do because my old computer did this. Basically what happened was that i got a new computer; replaced the old with the new (taking over its slot in the router); so everything should work on the hardware end of things (I rechecked the router port forwarding to make sure its all good and it is). Hope this helps narrow it down. Thank you very much.

--Skotopia
Participating Frequently
November 2, 2006
Make sure your firewall has port 8500 open.
November 2, 2006
Hello again;
I have enabled an exception for the port 8500; still no go. I even experimented with turning off my fire wall temporarily and it stil didn't work. Can you or anyone think of anything else i may need to do? Thank you.

---Skotopia