Spring Cloud Config port conflict

拜拜、爱过 提交于 2019-12-06 08:34:01

I had the same issue with Spring Boot version 1.8 and M2 of Spring Cloud. With Spring Boot 1.2.0.RC2 and Spring Cloud version 1.0.0.M3 the port problem seems to be gone

For any sprint boot based application you can add application.properties in to class path and override any server parameters.

server.port= 9000

various other parameters are given in sample boot application https://github.com/kamoor/spring-boot-sample

The config server and client can run on the same host, but not with the same port. It's how I run every day. What ports are your apps running on?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!