You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a project and I need two ESP32 to communicate over the network sending simple UDP packets.
I have been able to do this using WIFiUDP library, but everything works only if the two microcontrollers are in the same network (I can't do port forwarding for project's reasons).
To solve this issue I thought of using VPN and I found Husarnet that works really well.
I have been able to create the network and add the two ESP32 to it, the problem is that the controllers see each other and get the IPv6 and name of the peer, but WiFiUDP methods to send the packets only work with IPv4 or host name.
Since I don't have the IPv4, I tried to use the host name but it seems it does not work since I get the error "could not get host from dns: 11".
What am I doing wrong? How can I solve the problem?
The text was updated successfully, but these errors were encountered:
Hi,
I am working on a project and I need two ESP32 to communicate over the network sending simple UDP packets.
I have been able to do this using WIFiUDP library, but everything works only if the two microcontrollers are in the same network (I can't do port forwarding for project's reasons).
To solve this issue I thought of using VPN and I found Husarnet that works really well.
I have been able to create the network and add the two ESP32 to it, the problem is that the controllers see each other and get the IPv6 and name of the peer, but WiFiUDP methods to send the packets only work with IPv4 or host name.
Since I don't have the IPv4, I tried to use the host name but it seems it does not work since I get the error "could not get host from dns: 11".
What am I doing wrong? How can I solve the problem?
The text was updated successfully, but these errors were encountered: