Comments on: ESP32 WebSocket Server: Control Outputs (Arduino IDE) https://randomnerdtutorials.com/esp32-websocket-server-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 24 Jun 2025 10:04:03 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-1060537 Tue, 24 Jun 2025 10:04:03 +0000 https://randomnerdtutorials.com/?p=99437#comment-1060537 In reply to Vlad.

Hi.
Thank you for providing that information.

Regards,
Sara

]]>
By: Vlad https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-1060305 Mon, 23 Jun 2025 12:13:26 +0000 https://randomnerdtutorials.com/?p=99437#comment-1060305 In reply to Vlad.

In order for websocket to be accessible from WAN network, i had to make small change in code, following conversation at: github.com/me-no-dev/ESPAsyncWebServer/issues/1416

var gateway = ws://${window.location.hostname}/ws;
to
var gateway = ‘ws://’ + document.location.host + ‘/ws’;

Than, on your router, open port 80 for ESP32 ip and it should work.

]]>
By: Vlad https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-1059979 Sun, 22 Jun 2025 12:11:24 +0000 https://randomnerdtutorials.com/?p=99437#comment-1059979 I have problem accessing ESP32 from outside of local network. Webserver is accessed but websocket is never established. Did anyone have similar problem? What is the default port for websockets on esp32?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-1023424 Sat, 05 Apr 2025 09:28:39 +0000 https://randomnerdtutorials.com/?p=99437#comment-1023424 In reply to Glaucon Pires.

Olá.
Isso é muito bom!
Obrigada por seguir o nosso trabalho.
Boa sorte para os seus projetos.
Regards,
sara

]]>
By: Glaucon Pires https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-1023308 Sat, 05 Apr 2025 00:01:07 +0000 https://randomnerdtutorials.com/?p=99437#comment-1023308 Olá Rui e Sara.

Muito obrigado pelo material apresentado. Sou um entusiata no mundo da programação e IoT.
Tenho aprendido muito com seus pots.
Graças a vocês, tenho desenvolvido um sistema de automatização da iluminação do meu chalé. Até o momento, tenho conseguido resultados satisfatórios.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-1003174 Mon, 27 Jan 2025 18:25:25 +0000 https://randomnerdtutorials.com/?p=99437#comment-1003174 In reply to Rafael Beraldo.

Hi.
You’re right.
We have to update the library installation instructions to use that new fork.
Regards,
Sara

]]>
By: Rafael Beraldo https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-1001847 Wed, 22 Jan 2025 13:36:48 +0000 https://randomnerdtutorials.com/?p=99437#comment-1001847 Thank you for the article. The ESP32AsyncWebServer has moved to another repository as of January 20, 2025. Here is the new link: https://github.com/ESP32Async/ESPAsyncWebServer

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-991462 Sat, 14 Dec 2024 14:52:23 +0000 https://randomnerdtutorials.com/?p=99437#comment-991462 In reply to Bob.

Hi.
Please double-check your network credentials.
Regards,
Sara

]]>
By: Bob https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-991329 Sat, 14 Dec 2024 00:38:34 +0000 https://randomnerdtutorials.com/?p=99437#comment-991329 I copied your code and it compiled and loaded. I get the message “Connecting to WiFi” on the serial monitor.
However, I do not see the esp32c on the network.

]]>
By: Terry https://randomnerdtutorials.com/esp32-websocket-server-arduino/#comment-988850 Thu, 05 Dec 2024 00:27:28 +0000 https://randomnerdtutorials.com/?p=99437#comment-988850 In reply to Serge Marendaz.

essayez l’anglais pour une réponse

]]>