An error occurs when starting the jar package on the Linux server, as follows:
Description:
Web server failed to start. Port 8080 was already in use.
action:
identify and stop the process that’s listening on port 8080 or configure this application to listen on another port.
indicates that the web server failed to start and port 8080 is already in use. Check whether the last started task stopped
Solution steps:
1. Enter the bin directory
CD/usr/local/Tomcat/bin
2. Check whether Tomcat is closed
PS – EF | grep Java
3. Use the Tomcat shutdown command
./shutdown.sh (use with caution)
if you want to kill Tomcat directly, you can use the kill command to kill the process directly
kill – 9 7010
Read More:
- [Solved] Ubuntu 20.04.3 Fail to Start sshd Error: Failed to start OpenBSD Secure Shell server
- [Solved] Git Error: OpenSSL SSL_read: Connection was reset, errno 10054和Failed to connect to github.com port 443
- Install and start the tftp-server server and possible solutions to Redirecting to /bin/systemctl restart xinetd.service problems
- Aliyunshield occupies port 80 error: Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
- [Solved] Go use zoom to connect DM database and start reporting error in Linux
- Nginx Error: [emerg] bind() to [::]:80 failed (98: Address already in use)
- redhat7. 5 system service is not started automatically and use systemctl start error: error getting authority: error initializing authority: CO, (the server will restart)
- [Solved] Linux Error: Failed to start bean ‘webServerStartStop‘; nested exception is org.springframework.
- Linux Nagios failed to log in to internal server error (Fixed)
- [Solved] Ubuntu Error: Failed to connect to 127.0.0.1 port xxxxx: Connection refused
- How to Solve Error: Address already in use
- [Solved] Failed to connect to 127.0.0.1 port XXXX: Connection refused
- [Solved] Xshelln Connect to Local VM linux Error: Could not connect to ‘XXX.168.122.1‘ (port 22): Connection failed
- SSH Connect Service Error: Could not connect to ‘xxx.xxx.xx.xx‘ (port 22): Connection failed.
- [Solved] OCI runtime create failed: runc create failed: unable to start container process:
- Linux gets the program PID according to the port
- [Solved] VMware error: The module “PhysMem” failed to start.
- Docker Error: error invoking remote method ‘docker-start-container‘: error: (http code 500) server error –
- [Solved] Error: listen EADDRINUSE: address already in use :::5000
- [Solved] Virtual machine Failed to restart network Error: Error:Failed to start LSB: Bring up/down networking