I got an Network Error (tcp_error)
I tried deploying software into the server with docker and I got this error.
Network Error (tcp_error)
A communication error occurred: "Connection reset by peer"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
I've successfully installed it on my computer but whenever I try to install it on the cloud I get that error. This is like the third cloud hosting provider that I've tried and I still get the same error.
3 Replies
This error can be caused by incompatible port mapping, as referenced in this StackOverflow post. You'll want to ensure that your application is listening on the port that you've defined for it. Something else you may want to try is changing your host value to 0.0.0.0 if it is currently set as localhost. Our Docker guide may be helpful as you troubleshoot this matter; if you'd like to provide some insight into the application you're trying to deploy, we can help point you in the direction of some more relevant guides as well.
Well thanks for the information, but I don't know what to change or look for.
Here is my netstat list
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 530/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 609/sshd: /usr/sbin
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 712/postgres
tcp 0 0 127.0.0.1:35267 0.0.0.0:* LISTEN 584/containerd
tcp6 0 0 :::22 :::* LISTEN 609/sshd: /usr/sbin
tcp6 0 0 ::1:5432 :::* LISTEN 712/postgres
tcp6 0 0 :::8000 :::* LISTEN 2025/docker-proxy
Is there a way to sort this out?
Please?
Also the application I'm trying to deploy is this
https://github.com/bakape/meguca