ESP32 Websocket port assignment Q&A Forum › Category: ESP32 › ESP32 Websocket port assignment 0 Vote Up Vote Down John Kovach asked 3 years ago Is there any way to specify a port number to a websocket connection? Example: 192.168.0.100:2101 instead of 192.168.0.100/ws ? 1 Answers 0 Vote Up Vote Down Sara Santos Staff answered 3 years ago Hi. Try changing the following lines with the parameters you want: AsyncWebServer server(80); AsyncWebSocket ws("/ws"); Did it work? Regards, Sara