I have a Django application running on Render.com, but my Arduino device is not connecting to the service. When I use a browser, it finds the service immediately, but when I try to consume the resource from the Arduino device, it simply fails.
That said, I’ve tried using beeceptor.com for testing, and there are no issues. I believe it’s the way ports are managed on Render.com, but I don’t know what I should configure to allow me to connect from the device.
HttpClient http(client, server, port);
It requires me to specify the port, and from what I understood, the port is 10000, but this is used internally. The accepted requests are on ports 443 and 80, but neither of these ports works on the device.
Which port should I use, or what should I configure in the service?
The port I’m using in the Arduino code is 443, and HttpClient is compatible with HTTPS. I’ve tested it with other platforms, and the calls are received correctly. I don’t know what’s happening.