config enable port application.properties spring boot to see port code example Example: spring port server.port=8081