Spring Boot 4 · Configuration

Change the port

Set the HTTP port in application.properties.

server.port=8081

Official Spring Boot 4 documentation

More configuration commands

All configuration commands · Spring Boot 4 cheatsheet

Was this page helpful?