Hi,
I need to access to my ESP32 remotely. The ESP32 configuration has already an fixed LAN IP address but the router asks for a LAN port number.
So I’m wondering if there is any method to assign a LAN port number to a ESP32 connected via WiFi.
Hope you can help me.
Hi
Port Number is basically the type of app your esp32 is running
http://www.meridianoutpost.com/resources/articles/well-known-tcpip-ports.php
So if you are running a webserver, the server code defines the Port Number ie 80,
But this number came be other numbers too ie 88 or 89, but the client must be 88 or 89,
so that there can create a Socket
https://randomnerdtutorials.com/esp32-web-server-arduino-ide/
here the Port Number is set to 80
// Set web server port number to 80
WiFiServer server(80);