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." used for this project
The following steps were taken:
- Started server on port of esp i.e. port 255
- Making the IP of ESP module STATIC i,e, 192.168.1.72
The message was displayed on serial monitor:-
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 ?
led_on_webserver.ino (2.34 KB)