00: 00 Welcome
00: 08 Server port Introducution
00: 12 change Http port
01: 39 Syntax
01: 55 Example
02: 20 Fix
In Spring Boot, the server port is the port number that the application listens to for incoming requests. By default, Spring Boot applications listen on port 8080. However, you can easily change this to a different port number.
Here are a few ways to change the server port in Spring Boot:
1. application.properties or application.yml file:
Add the following property to your application.properties or application.yml file:
server.port=8081
This will change the server port to 8081.