Disconnected from the target VM, address : ‘127.0.0.1:6847’ , transport : ‘socket’
Cause Analysis 1 | The Tomcat used by the server, the compilation and packaging method is not set to war [the default packaging method is jar] |
---|---|
Scenes | Unable to start when starting project |
1. Set the packaging method to war in pom.xml
Cause Analysis 2 | Port is occupied |
---|---|
Scenes | Unable to start when starting project |
1. First check the startup status of the port
Win+R Enter cmd to open the DOS command box, enter netstat -ano | findstr 8060 [where 8060 is the port number of the running project] If this is
displayed, it means that the background port 8060 is still running, and the PID is 10316, so kill the port process, Just restart the project
2. Kill the process, choose one of the two methods
2.1, Ctrl + alt + delete, start the task manager, find the corresponding program according to the PID, right-click to end the task
2.2. According to tasklist | findstr 10316, query what program is occupying port 8060, of which 10316 is the PID queried above.
Just continue to execute taskkill /f /t /im java.exe
(or) directly execute taskkill /pid 10316 -t -f to force kill the process
Read More:
- How to Sove Error: listen EADDRINUSE: address already in use 127.0.0.1:8888
- [Solved] pytorch CrossEntropyLoss Error: RuntimeError: 1D target tensor expected, multi-target not supported
- [Solved] Error: Could not open client transport with JDBC Uri
- [Solved] Error running Tomcat8: Address localhost:8080 is already in use
- Port occupancy error address already in use: bind [Solved]
- [Solved] Error: listen EADDRINUSE: address already in use 127.0.0.1:80
- [Solved] Windows Nginx Startup Error: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket
- Oracle VM VirtualBox open replication virtual machine Error
- [HBase Error]“java.lang.OutOfMemoryError: Requested array size exceeds VM limit”
- [Solved] Neo4j Error: Error occurred during initialization of VM Incompatible minimum and maximum heap sizes spec
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Mac M1 Start Virtual Machine Centos8 with PD to install Kafka error: Error: VM option ‘UseG1GC‘
- vue VM682:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
- Error in invoking target [How to Solve]
- Jmeter Error java.net.BindException: Address already in use: connect
- Mac Start IDEA Error: Cannot load JVM bundle…Value of IDEA_VM_OPTIONS is (null)
- Max virtual memory areas vm.max_map_count [65530] is too low, increase to at least
- .net socket programming error [How to Solve]
- [Solved] Frida spawn process failed on Android ‘Error: VM::AttachCurrentThread failed: -1
- stm32cubeAI “validation on target “ ERROR [How to Solve]