Hi everyone,
I have a question, i have open port 8000 on my router and i also already check my open port at this site (http://canyouseeme.org). My question is, i can view my site on local host (10.11.2.13:8000) but when i open it on my ip (123.45.67.890:8000) it show (Firefox can't establish a connection to the server at 123.45.67.890:8000.). Can i know why this happen? I want to publish my localhost over the internet.
I create the localhost with mamp pro.
P/S : sorry for my bad english.
10 replies to this topic
#1
Posted 07 December 2011 - 08:40 AM
|
|
|
#2
Posted 07 December 2011 - 08:59 AM
First, you should use a real server... some cost almost nothing, 3$ a month
And second this 123.45.67.890:8000 cannot be your ip, 890 is not a valid ip, take a look at What Is My IP Address - Shows Your IP Address
And second this 123.45.67.890:8000 cannot be your ip, 890 is not a valid ip, take a look at What Is My IP Address - Shows Your IP Address
#3
Posted 07 December 2011 - 01:22 PM
I had the same issue. Turns out you CANNOT access your website using the external IP for the network you are on. Try accessing it on your phone or from a computer connected to a different router. Also port 80 is the default web port...
Hosting your own website is fine, and gives you far more control. If you live in a rural area you may wish to implement a 5-15 minute UPS to keep your server powered so it can shutdown safely if the power fails (and automatically start when it's restored).
Hosting your own website is fine, and gives you far more control. If you live in a rural area you may wish to implement a 5-15 minute UPS to keep your server powered so it can shutdown safely if the power fails (and automatically start when it's restored).
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#4
Posted 07 December 2011 - 07:18 PM
Okie that IP (123.45.67.890) is just example and i have open port 8000 on my router. i can access on my localhost 10.1.1.210:8080 and all other computers connected to my network can access it. but when i type in my IP it redirect to my router login page. i saw some tutorial that the connect their ip to local host .
Localhost:8000 (Show the page)
IP from whatismyip (ip:8000) also show the page
then they use no-ip to host the domain.
i cant access the page with ip:8000 but can with localhost:8000.
thanks :)
Localhost:8000 (Show the page)
IP from whatismyip (ip:8000) also show the page
then they use no-ip to host the domain.
i cant access the page with ip:8000 but can with localhost:8000.
thanks :)
#5
Posted 08 December 2011 - 01:59 PM
You need to open your router, let it map port 8000 to your internal ip
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#6
Posted 08 December 2011 - 08:22 PM
When i check with "http://canyouseeme.org/" they mention that my port 8000 is open with my ip showed on the site.
#7
Posted 11 December 2011 - 12:32 AM
Did you read my post? When you access your IP from your network you will get a network timeout. Try accessing it from a device outside your network (eg from your friends house or your phone (make sure it isn't connected to your home wireless)).
Also port 80 is the default web port which is why your routers login appears when you are connecting locally (it should work fine externally). Best approach: Call a friend and ask him to visit the address...
Also port 80 is the default web port which is why your routers login appears when you are connecting locally (it should work fine externally). Best approach: Call a friend and ask him to visit the address...
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#8
Posted 11 December 2011 - 07:27 PM
Thanks bbqroast for the reply, it is working now but with a small problem. When people type in this "IP:Port" they can with my site which is hosted with my mamp, but when they just type in the IP without port followed by it the browser redirect them to my router login page. Is that possible for me to make it like this :
When user type in my IP, it automatically redirect them to "IP:PORT"
Thanks bbqroast. :)
When user type in my IP, it automatically redirect them to "IP:PORT"
Thanks bbqroast. :)
#9
Posted 11 December 2011 - 11:28 PM
Chivaa K said:
Thanks bbqroast for the reply, it is working now but with a small problem. When people type in this "IP:Port" they can with my site which is hosted with my mamp, but when they just type in the IP without port followed by it the browser redirect them to my router login page. Is that possible for me to make it like this :
When user type in my IP, it automatically redirect them to "IP:PORT"
Thanks bbqroast. :)
When user type in my IP, it automatically redirect them to "IP:PORT"
Thanks bbqroast. :)
Your issue is that the web browser will look for port 80 when using the HTTP protocol (http://ip) or 443 if HTTPS.
Unless you can get your router to somehow host something (virtual hosting, I've heard of it before possibly) then you will still have to type the port.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#10
Posted 12 December 2011 - 03:25 PM
Most home routers can be set to forward port 80 to an internal ip. What kind of router do you have?
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#11
Posted 13 December 2011 - 01:02 AM
Same here, nearly all routers can port forward port 80 not 8000!
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









