Created
September 2, 2023 16:57
-
-
Save bshambaugh/aeaac0d27af80ac0fb42008aee114719 to your computer and use it in GitHub Desktop.
reverse proxy and mDNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Deal with the use of only port 80 and 43 on most public networks with a reverse proxy | |
https://www.tutorialspoint.com/how-to-configure-nginx-as-reverse-proxy-for-websocket | |
2) Deal with a changing IP address of the websockets server with | |
bshambaughOP | |
— | |
08/30/2023 4:44 PM | |
That reminds me, in https://github.com/bshambaugh/BlinkyProject/blob/remoteSigner/edgeDevices/ESP32-testing/include/websocketserver_config.h I have the IP address of the laptop assigned by the router hardcoded which I can discover by hostname -I on the laptop. Recompiling the ESP32 with the new IP address when I move to a new network like 192.168.1.29 (or even if the router reassigns it .... occasionally locally I go from 10.0.0.4 to 10.0.0.5 and back again) is a pain. I think this is a different issue though....I just need to somehow give my devices unique identifiers, call out to them through some sort of broadcast scheme and pull down their assigned IP addresses. | |
lots to think about, thanks for your help so far. (Find the IP address of the esp32 by another esp32 on the same local network) | |
https://stackoverflow.com/questions/44187924/nodemcu-resolving-raspberrys-local-dns-through-mdns | |
https://esp32.com/viewtopic.php?t=29291 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RTL8720DN is not supported by platform.io. Adding support appears to be a lot of work: https://community.platformio.org/t/adding-a-new-board-from-arduino-ide-to-platformio/32050 . RTL8720DN development might be easier with the Arduino IDE, which does provide support.