Connection reset by peer when hitting Docker container

I would check to see if the server application is configured to only listen to requests coming from its “localhost”, this check depends on the type of server that you’re using which is not mentioned.

an easy check is to start your container as follows:

docker run --network host -d yourimagename

You don’t need to worry about port mapping since you’re using the host network

then try to curl, if that works, then you’ll just need to review your server listening IP setting.

curl localhost:10009

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)