Home > other >  Is really can't solved, the local virtual machine installed inside the docker, up a nginx, but
Is really can't solved, the local virtual machine installed inside the docker, up a nginx, but

Time:04-12

Problem: installed on a local virtual machine VirtualBox centos7 docker, up a nginx, but curl curl:
(56) Recv failure: Connection reset by peer
Container inside the curl is no problem,
Try a variety of methods can solve

A firewall is shut down
/root @ localhost ~ # is firewall - CMD - state
Not running
2 the netstat is as follows:
/root @ localhost ~ # netstat - ant | grep 80
TCP 0 0 0.0.0.0:80 0.0.0.0: * LISTEN
Docker ps
3/root @ localhost ~ # docker ps
The CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Ac0b3bbc729a nginx/docker - entrypoint.... "" 15 hours line Up 21 minutes 0.0.0.0:80 - & gt; 80/TCP nginx01
Was stranded request support
  • Related