We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我们有非web Springboot应用,专门提供dubbo服务。启了dubbo端口。但是并不需要启一个web端口。 Springboot 启动代码如下
这里获取的实例信息如下
查看获取实例信息的代码如下。此时server.port 虽然有值(默认8080),但是实际上没有启这个端口。
The text was updated successfully, but these errors were encountered:
服务启动是spring-boot-starter-web启动吗
Sorry, something went wrong.
不是,没有引入web的starter
服务启动是spring-boot-starter-web启动吗 不是,没有引入web的starter
可以自己设置server.port,从server.port获取
本质就是个ip:port组合做服务实例的唯一标识,可以自己设置server.port有必要的话
No branches or pull requests
我们有非web Springboot应用,专门提供dubbo服务。启了dubbo端口。但是并不需要启一个web端口。
Springboot 启动代码如下
这里获取的实例信息如下
查看获取实例信息的代码如下。此时server.port 虽然有值(默认8080),但是实际上没有启这个端口。
The text was updated successfully, but these errors were encountered: