srpingboot configures SSL and it keeps saying that the password is incorrect and the port is occupied
This is what I wrote before
Then run and report an error
How to solve it is
Put the file in the root directory
Then write like this to solve the problem
// An highlighted blo #端口号 server.port=8089 #SSL配置 server.ssl.key-store=2503725_xcx.goodhosp.com.pfx server.ssl.key-store-password=你的密码 server.ssl.keyStoreType=PKCS12
When we start the backend, we sometimes encounter The problem of the port being occupied (), as shown in the figure:
Web server failed to start. Port 8888 was already in use.
1. Open the cmd window
2. Enter the command: netstat -ano to check the port number
3. Find the port number of 8888 and use taskkill /F /pid PID to kill the process
Restart the backend after the operation to solve the problem
The above is the detailed content of How to solve the problem that the port is always occupied after springboot is configured with SSL?. For more information, please follow other related articles on the PHP Chinese website!