Problem description:
When installing the mysql container running docker in the host environment, the port is occupied
Reason analysis:
The port is occupied and cannot bind the address
Solutions:
netstat -nap look for port 3306
look at the pid that the program is running and find that it is actually occupied, remember the pid
netstat -nap | grep 3306
kill the process, here is kill 1107
Read More:
- Eclipse port occupied( java.net.BindException : address already in use: bind) solution
- Error starting userland proxy: listen TCP 0.0.0.0:9000: Listen: address already in use
- Through PID (process identification) to find the port (port) occupied applications, to solve the problem of port occupied
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- What should be paid attention to in socket programming — bind socket error: address already in use
- Port 4200 is already in use.Use ‘-port’ to specify a different port error Reasons
- Error: listen eadrinuse: address already in use
- Idea startup error: Port occupied/address already exists
- [exception] address already in use: bind
- How to solve oserror: [errno 98] address already in use and kill the python3 process
- Some error occurred error: listen eaddinuse: address already in use 127.0.0.1:3000
- Error: transport error 202: bind failed: address already in use
- The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in u
- Kafka opens JMX port and reports that the error port is occupied
- License Error: “Failed to Open the TCP Port Number in the License” Ultimate Solution
- The error record when docker starts Nacos, and the solution to the problem of port occupation
- Error running ‘Tomcat 9‘: Address localhost:1099 is already in use
- Centos Failed to Modify the port of SSH: error: Bind to port 27615 on 0.0.0.0 failed: Permission denied.
- filezilla Failed to create listen socket on port 21 for IPv4 solution
- Creating Server TCP listening socket 127.0.0.1:6379: bind: No error。。。 Solutions to problems encountered in startup