Open JohannesMaierhofer opened 2 years ago
Additional information: The following line causes the issue, as it seems not available for the RP2 port of usocket.
srvSocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
I'm successfully running MWS2 on a Pico W, but I did have to manually use Bind() to specify my IP address and port, once I connected the W to the WLAN and had an IP. Letting it default-bind to 0.0.0.0 wasn't working.
I'm successfully running MWS2 on a Pico W, but I did have to manually use Bind() to specify my IP address and port, once I connected the W to the WLAN and had an IP. Letting it default-bind to 0.0.0.0 wasn't working.
How did you manage to make it work ? Even manually binding the RPI Pico IP address and port, I am still getting the same error Cannot bind server on 192.168.1.113:8000
, same with port 80
and IP 0.0.0.0
Hi, I'm trying to run MicroWebSrv2 on the Arduino RP2040 nano Connect via a wifi connection. But I ended up in
MicroWebSrv2Exception: Cannot bind server on 0.0.0.0:80.
Here is my minimal example: