TCP connection fails

I have created two apps backend and frontend. The two apps running without any issues but the apps are not communicating each other with shared public IPs and frontend app is not able to reach backend apis. can someone please help me on this?

executed curl command in the Frontend app.

  1. curl -v http://backend-ip:8082
    curl: (56) Recv failure: Connection reset by peer

  2. curl -I https://backend-app.fly.dev/
    curl: (60) SSL certificate problem: certificate has expired

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it.

I fixed this issue adding the line

proxy_ssl_server_name on;

in the Nginx reverse proxy.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.