Hummm, so where is the - I'm a dork" section? :-)
Moderators: grovkillen, Stuntteam, TD-er
Hummm, so where is the - I'm a dork" section? :-)
Hi Gang,
I've got a problem ..... I have an ESP-12 made by WeMos and its a D1 Mini Module.
It's chugging away happily and I can see it inside on 192.168.x.x I also opened the post 80 on my router to let it out.
For whatever reason ... no joy !! I can't see it from outside, it IS port 80 right!? Any suggestions?
Cheers'
Dave
I've got a problem ..... I have an ESP-12 made by WeMos and its a D1 Mini Module.
It's chugging away happily and I can see it inside on 192.168.x.x I also opened the post 80 on my router to let it out.
For whatever reason ... no joy !! I can't see it from outside, it IS port 80 right!? Any suggestions?
Cheers'
Dave
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Hummm, so where is the - I'm a dork" section? :-)
I would NOT expose it to the internet directly. Why do you want that?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: Hummm, so where is the - I'm a dork" section? :-)
Technically:
The "private" IP addresses like 192.168.xxx.yyy are "non-routeable" by definition.
Most usual routers, even home routers, follow these definitions.
It is possible to reach such an adress from the outside but that's a tricky thing and
needs some knowledge about routing and IP forwarding, adress translation and so on.
On top it needs a sophisticated router that can do this job.
I agree with grovkillen:
I'd never ever connect an ESP to the internet directly.
It's an unencrypted connection so everyone from outside is able to sniff
you data, including password.
A workaround to both, routing problems and encryption might be a VPN.
But describing that in detail is far beyond the scope of a forum post.
Regards
Shardan
The "private" IP addresses like 192.168.xxx.yyy are "non-routeable" by definition.
Most usual routers, even home routers, follow these definitions.
It is possible to reach such an adress from the outside but that's a tricky thing and
needs some knowledge about routing and IP forwarding, adress translation and so on.
On top it needs a sophisticated router that can do this job.
I agree with grovkillen:
I'd never ever connect an ESP to the internet directly.
It's an unencrypted connection so everyone from outside is able to sniff
you data, including password.
A workaround to both, routing problems and encryption might be a VPN.
But describing that in detail is far beyond the scope of a forum post.
Regards
Shardan
Regards
Shardan
Shardan
Re: Hummm, so where is the - I'm a dork" section? :-)
Here's a snap of two options in the router:
Cheers'
Dave
Cheers'
Dave
Re: Hummm, so where is the - I'm a dork" section? :-)
Oh it's not going to be out there permanently - its just for now for testing.
Eventually it'll feed a Pi and provide lovely trends and graphs!
It's just odd that it "seems" like the bugger can't get thru the router and I
have lots of stuff passing thru ! I've never run in to this before !?!
Cheers'
Dave
Eventually it'll feed a Pi and provide lovely trends and graphs!
It's just odd that it "seems" like the bugger can't get thru the router and I
have lots of stuff passing thru ! I've never run in to this before !?!
Cheers'
Dave
Re: Hummm, so where is the - I'm a dork" section? :-)
Besides if they hack it and discover the hot tub's temp - so be it (grin)
Cheers'
Dave
Cheers'
Dave
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Hummm, so where is the - I'm a dork" section? :-)
Port forward is the way to go then.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



- budman1758
- Normal user
- Posts: 303
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
Re: Hummm, so where is the - I'm a dork" section? :-)
This is one of those times where a configurable web server port would come in very handy...



"The glass is twice as big as it needs to be".
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Hummm, so where is the - I'm a dork" section? :-)
You can redirect any port from the outside to port 80 on the target unit.
Lets say that you use a dynamic dns service and connect to your.dns.com and have three different units that you want to expose to the internet. Then you can do it like this :
Lets say that you use a dynamic dns service and connect to your.dns.com and have three different units that you want to expose to the internet. Then you can do it like this :
Code: Select all
your.dns.com:50000 - - > router portforward 50000 to - - > 192.168.0.100:80
your.dns.com:50001 - - > router portforward 50001 to - - > 192.168.0.101:80
your.dns.com:50002 - - > router portforward 50002 to - - > 192.168.0.102:80
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: Hummm, so where is the - I'm a dork" section? :-)
In post #4 you showed the IP list.
What I saw is that the last 2 lines have the same IP. HTTP.. + Hot Tub. Maybe this is the cause
What I saw is that the last 2 lines have the same IP. HTTP.. + Hot Tub. Maybe this is the cause
Re: Hummm, so where is the - I'm a dork" section? :-)
They also have the same public port which actually IS the issue. The router has no way of knowing which rule to use when connecting from the outside to port 80. Furthermore, some ISPs block port 80, so using another port will solve both issues. Finally there is a source ip address. I don't know what exactly this means but I guess it probably only accepts connections from that address (which is a private address and would never be routed by the ISP)
Who is online
Users browsing this forum: No registered users and 14 guests