Packaging rust web app using docker but failed access

  docker, rust, ssl

I created a rust web app using actix-web with ssl support.
When I develop on local machine it can be accessed successfully https://localhost:8888
But then I write a dockerfile and expose tcp port 8888 and access https://localhost:8888 using postman but got error:

Error: Client network socket disconnected before secure TLS connection was established

Any idea?

Source: Docker Questions

LEAVE A COMMENT