rnz opened a new issue, #1851:
URL: https://github.com/apache/kvrocks/issues/1851

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   Bind to 127.0.0.1 in the configuration is not suitable for the docker image
   
   ### Minimal reproduce step
   
   ```
   $ docker run -d -p "6666:6666" apache/kvrocks:latest
   67a4d65e172a67ce9d3c32a159fbdd1c9fd137294f9ca91a97a5728965558631
   
   $ docker ps
   CONTAINER ID  IMAGE                            COMMAND               CREATED 
        STATUS         PORTS                     NAMES
   67a4d65e172a  docker.io/apache/kvrocks:latest                        4 
minutes ago   Up 4 minutes   127.0.0.1:7639->6666/tcp  focused_grothendieck
   
   $ docker exec -it 67 sh 
   Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet 
msg.
   / # netstat -tlnp
   Active Internet connections (only servers)
   Proto Recv-Q Send-Q Local Address           Foreign Address         State    
   PID/Program name    
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   tcp        0      0 127.0.0.1:6666          0.0.0.0:*               LISTEN   
   1/kvrocks
   
   / # exit
   ```
   ```
   $ redis-cli -p 6666 info | wc -l
   Error: Connection reset by peer
   ```
   
   ### What did you expect to see?
   
   Connecting by redis-cli to kvrocks instance which was run in docker, such 
for example as it make with r redis images:
   
   ```
   $ docker ps
   CONTAINER ID  IMAGE                            COMMAND               CREATED 
        STATUS         PORTS                     NAMES
   55a62aa0c896  docker.io/library/redis:latest   redis-server          29 
minutes ago  Up 29 minutes  0.0.0.0:6379->6379/tcp    gifted_kare
   $ redis-cli -p 6379 info | wc -l
   214
   ```
   
   ### What did you see instead?
   
   ```
   Error: Connection reset by peer
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to