-->
Page 1 of 1

Port forwarding ESP8266+ArduinoUNO

PostPosted: Thu Feb 16, 2017 8:27 am
by gabryg29
Hi everyone,

My final goal is to control my Arduino via Internet.

The first step I accomplished was to control it using the same WiFi that it is connected to. I used AT commands and opened created a server on port 80, so I could sens data from a web browser.

Now I wanted to connect it from everywhere around the world, so I followed this tutorial in port forwarding:
https://alselectro.wordpress.com/2015/0 ... mment-3147

I have a very similar router as the one he uses: HUAWEI Mobile WiFi e5377
It enables virtual server, so I think port forwarding shouldn't be a problem.

I link for example port 333 to the static IP from the ESP8266 in the WiFi, and I create from the ESP a server in port 333. Now I should be able to access it from my public IP adress:port, so I used this web to check if the port was open: http://www.yougetsignal.com/tools/open-ports/

It was not, and I'm stuck in this step, the port always looks to be closed and I'm not really sure about why.

Any ideas, suggestions or critics will be welcome.
Thanks in advance!

Re: Port forwarding ESP8266+ArduinoUNO

PostPosted: Mon Mar 06, 2017 8:12 am
by Nedim
Could you please explain how did you connect esp and arduino ?

I'll try to fin solution for your problem.

Regards

Re: Port forwarding ESP8266+ArduinoUNO

PostPosted: Sun Sep 03, 2017 6:33 am
by Luhan
I'm having a problem like this with my 8266 server. It works fine until I change the port address to something other than 80 or set up port forwarding.

http://mondo-technology.com/wifi2.htm

Chrome (win7) fails.
Chrome (xp) works.
Chrome (android) fails.
Firefox (win7) loads page as text instead of html
Explorer (win7) works fine.

Re: Port forwarding ESP8266+ArduinoUNO

PostPosted: Mon May 27, 2019 4:09 pm
by ofekp
I had this happened several times.

I suggest to make sure that your ISP is not using Carrier-Grade NAT (CGN)
You can read more about it here:
https://en.wikipedia.org/wiki/Carrier-grade_NAT

A good way to see if that is really the case is to see if multiple "what is my IP" websites indicate different IPv4 addresses.

After that I would suggest for opening the port to use:
https://github.com/ofekp/TinyUPnP

I hope this will help someone,
ISPs can drive you crazy.