rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: flyingmtm on October 15, 2008, 10:56:56 PM

Title: Can't get access to website from outside my LAN
Post by: flyingmtm on October 15, 2008, 10:56:56 PM
Hallo friends,

After reading for more than two evenings on HFS related problems I finally decided to ask for your help in order to get the HFS stuff to work. I have done many things already but still without positive results. I can see locally on my LAN the shared files but when I try to access it from outside it doesn't work. This is what I have tried already:

1.Portforwarding of port 80, 8080, 9090, 50000 one by one on my Baudtec Wireless Modem/Router TW263R4-A0. By example 192.168.1.5 forwarded to the ports mentioned above, one at the time off coarse. Info required from www.portforward.com
2.HFS updated to latest revision V2.3 beta 207
3. HFS installed as well on my second computer (laptop) and tried similar tests. Still NOK
4. External IP address required via www.watismijnip.nl inorder to type that address into the webbrowser with the portnumber behind the ':' By example http://85.74.188.47:8080
5. Firewalls are all off, windows as well as the Baudtec's internal FW
6. I have resetted the Baudtec router but NOK
7. First time (yesterday) even the selftest went wrong but today after having powered off and on the pc at least the selftest is OK, strange but true. Eventhough externally site not visible.
8. I have tried to use also using my flyingmtm.dyndns.org alias to access the shared files from HFS but as well NOK

In HFS what kind of address do I have to use to share files to the internet? My local IP or my external IP? I mean the http://192.168.1.5:8080 or http://85.74.188.47:8080 by example???

What the heck can I have missed, I am kind of desperate, who can give me some hints.

Thxs guys in advance for any help,

Flyingmtm ???
Title: Re: Can't get access to website from outside my LAN
Post by: rejetto on October 15, 2008, 11:01:03 PM
If the self test says "ok", it should be all fine and working.
Remember YOU can't use your external address in your LAN.
If you want, we can check your hfs, just provide a working url and keep your hfs ON.
Title: Re: Can't get access to website from outside my LAN
Post by: flyingmtm on October 15, 2008, 11:09:05 PM
Hello Rejetto,

Why can't I check the HFS shared files using the same computer but typing the external IP in the webbrowser or any other PC in the LAN? It should work fine I think. The selftest does something similar isn't it from my own PC.

Anyway if you want to try, my address is flyingmtm.dyndns.org and the port is 192 on my pc and 15015 on my laptop.

Thxs, Flyingmtm
Title: Re: Can't get access to website from outside my LAN
Post by: rejetto on October 15, 2008, 11:13:27 PM
Why can't I check the HFS shared files using the same computer but typing the external IP in the webbrowser or any other PC in the LAN?

it's because is not your address but the one of your router.
read the FAQs (http://www.rejetto.com/wiki/index.php/HFS_Frequently_Asked_Questions_(English)#Internal_IP_address_works.2C_but_when_I_use_my_external_one_it_does_not.2C_any_help.3F)

Quote
The selftest does something similar isn't it from my own PC.

nope! the self test asks anoter computer over the internet to do the test.

Quote
Anyway if you want to try, my address is flyingmtm.dyndns.org and the port is 192 on my pc and 15015 on my laptop.

it works perfectly, like the self test says ;)
Title: Re: Can't get access to website from outside my LAN
Post by: flyingmtm on October 15, 2008, 11:21:19 PM
Hej Rejetto,

You are right my friend, I can't believe it. Is this a (strange) behaviour of HFS? I have played before with other programs that work as a server but they could be accessed from the same PC using its external IP. I just tried to access the shared files from my Iphone, this time not using the WIFI but 3G connection, and it worked fine.

Does it matter if I use the local IP or the external IP in HFS address bar?????????

Mille gracia amico,

flyingmtm
Title: Re: Can't get access to website from outside my LAN
Post by: Pit on October 15, 2008, 11:24:30 PM
If you want to acess to your own hfs-server from the local pc, you must add an entry in your local host file.
Title: Re: Can't get access to website from outside my LAN
Post by: rejetto on October 15, 2008, 11:24:51 PM
You are right my friend, I can't believe it. Is this a (strange) behaviour of HFS?

nope, every program.

Quote
I have played before with other programs that work as a server but they could be accessed from the same PC using its external IP.

i bet you are wrong :)

Quote
I just tried to access the shared files from my Iphone, this time not using the WIFI but 3G connection, and it worked fine.

your iphone is not your pc.
it's not a matter of the room you are in, if you connect via 3G, then you are not in the LAN. Use the same wifi as your pc, and it won't work anymore ;)

Quote
Does it matter if I use the local IP or the external IP in HFS address bar?????????

that bar is just for your convenience.
use the address you use most.
Title: Re: Can't get access to website from outside my LAN
Post by: rejetto on October 15, 2008, 11:26:59 PM
If you want to acess to your own hfs-server from the local pc, you must add an entry in your local host file.

it depends on the reason  you are doing it.
if your purpose is testing reachability, than this is the wrong way.
Title: Re: Can't get access to website from outside my LAN
Post by: Pit on October 15, 2008, 11:28:50 PM
Yes, this way is only to see the design or test the function of the links.
Title: Re: Can't get access to website from outside my LAN
Post by: rejetto on October 15, 2008, 11:32:41 PM
i want to be more detailed, don't take it as an attack Pit :)
if you click the "open in browser" button in hfs, you get the same result without editing the hosts file.
SO that method (editing hosts) is only useful if you want (for any reason) to use that specific address for browsing yourself. (and that's up to you)