Home > Java > javaTutorial > body text

How to solve the problem that the port is always occupied after springboot is configured with SSL?

PHPz
Release: 2023-05-18 08:49:05
forward
1133 people have browsed it

After configuring ssl in springboot, the port is always occupied when it starts up

srpingboot configures SSL and it keeps saying that the password is incorrect and the port is occupied

This is what I wrote before

How to solve the problem that the port is always occupied after springboot is configured with SSL?

Then run and report an error

How to solve the problem that the port is always occupied after springboot is configured with SSL?

How to solve the problem that the port is always occupied after springboot is configured with SSL?

How to solve it is

How to solve the problem that the port is always occupied after springboot is configured with SSL?

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
Copy after login

The springboot port is occupied. One way to solve it

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.

How to solve the problem that the port is always occupied after springboot is configured with SSL?

Solution steps

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

How to solve the problem that the port is always occupied after springboot is configured with SSL?

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!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template