ESP8266 IoT project not working
Posted: Wed Dec 12, 2018 7:58 am
Hello everyone !
I am trying to make a esp8266 IoT project controlling the led from the web page.
see the attached file" led_on_webserver.ino." I used for this project
The following steps were taken:
1. Started server on port of esp i.e. port 255
2. Making the IP of ESP module STATIC i,e, 192.168.1.72
The message was displayed on serial monitor:-
WiFi connected
Server started
Enter this URL to control ESP8266: http://192.168.1.72:255
the web page was opened and I could control the led from the web page
3.PORT FORWARD settings under my jiofi Router Configuration so that any access to port (255)
from external world is directed to the ESP Server port.
It was successfully configured to the address: http://10.83.195.152:255/ and led was switched
ON/OFF from the web page.
4.Windows Firewall setting to allow port 255 for communication
When I try to access this webpage from other network, it fails.
PROBLEM: when I check the port with the help of " Can you see me website" from my lap top
it gives error port closed. I think it is because the espwebserver is connected to my router,
not through my laptop.
So, it means any request from the net will directly be forwarded to the ESP.
with the process like: Outside world server-> router -> ESP8266.
I don't know how to do this process. can any one suggest me to resolve this problem ?
I am trying to make a esp8266 IoT project controlling the led from the web page.
see the attached file" led_on_webserver.ino." I used for this project
The following steps were taken:
1. Started server on port of esp i.e. port 255
2. Making the IP of ESP module STATIC i,e, 192.168.1.72
The message was displayed on serial monitor:-
WiFi connected
Server started
Enter this URL to control ESP8266: http://192.168.1.72:255
the web page was opened and I could control the led from the web page
3.PORT FORWARD settings under my jiofi Router Configuration so that any access to port (255)
from external world is directed to the ESP Server port.
It was successfully configured to the address: http://10.83.195.152:255/ and led was switched
ON/OFF from the web page.
4.Windows Firewall setting to allow port 255 for communication
When I try to access this webpage from other network, it fails.
PROBLEM: when I check the port with the help of " Can you see me website" from my lap top
it gives error port closed. I think it is because the espwebserver is connected to my router,
not through my laptop.
So, it means any request from the net will directly be forwarded to the ESP.
with the process like: Outside world server-> router -> ESP8266.
I don't know how to do this process. can any one suggest me to resolve this problem ?