Skip to content
New issue

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

Nacos 非容器化部署,修改默认端口后,可以成功登陆 Nacos 主页,但是应用程序无法注册上去,拉取的还是 8848 的配置 #1627

Closed
ghost opened this issue Aug 11, 2020 · 2 comments
Labels
area/nacos spring cloud alibaba nacos

Comments

@ghost
Copy link

ghost commented Aug 11, 2020

环境描述

WIndows 10 + JDK 8 + Nacos-server-1.2.1(Nacos-server-1.3.2) 非容器部署

操作步骤

  1. 修改 Nacos 默认端口为 8858

  2. startup.bat 启动 Nacos

  3. 访问 http://127.0.0.1:8858/nacos 成功

  4. 修改应用程序配置文件 ,启动失败(还是去查找 8848 的资源,具体如下图)

配置信息

更详细的描述

此处 ISSUE 未能解决该问题,或许是我理解错误,请详细指导一下,感谢~!:alibaba/nacos#3361

@yuhuangbin
Copy link
Collaborator

nacos config 相关的配置项,放在bootstrap.yaml

@yuhuangbin yuhuangbin added the area/nacos spring cloud alibaba nacos label Aug 11, 2020
@ghost
Copy link
Author

ghost commented Aug 12, 2020

nacos config 相关的配置项,放在bootstrap.yaml

经过测试,必须放在 bootstrap 文件中才能生效。是否有点不够友好,期待新版本改进,辛苦!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nacos spring cloud alibaba nacos
Projects
None yet
Development

No branches or pull requests

1 participant