Deployment is "Live", but when I access the server I get a 502 error

↑Now, I have set the port to “10000” and the host to “0.0.0.0”, and the deployment is now in “Live” state. However, when I access the server via https, I get a “502 BadGateWay” error.

502 Error
スクリーンショット 2022-04-29 15.35.00

Html
スクリーンショット 2022-04-29 15.35.10

I also checked the server behavior in “console.log” and it seems that the server is not receiving requests.

I am using a translation tool, so the English may be unnatural. Sorry.

postscript
ServiceID is “srv-c9lo528ivq0ahrbumitg”.

postscript
This problem also occurs with curl.

Hi there,

Thanks for reaching out.

It feels like you service isn’t talking to our proxy correctly.

You’ve confirmed the host and port, maybe also check the code is only accepting connections over HTTP and not HTTPS, which is handled further upstream.

Please let us know if we can assist any further.

Kind regards

Alan

I was using the https module, but when I used the http module instead, it returned a normal response instead of a 502!

Thank you!