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

nacos1.4.5版本修改application.properties 端口,鉴权后,启动nacos时读取的application.properties还是nacos-server.jar信息 #10367

Closed
ZBYING opened this issue Apr 23, 2023 · 1 comment
Labels
status/duplicate This issue or pull request already exists

Comments

@ZBYING
Copy link

ZBYING commented Apr 23, 2023

Describe the bug
A clear and concise description of what the bug is.
nacos1.4.5版本修改application.properties 端口号8848改为8849,启动的还是8848.鉴权配置修改后也不生效。
The modification of the application.properties port number 8848 to 8849 in version 1.4.5 of Cocos will still activate 8848. The authentication configuration modification will not take effect.

Expected behavior
A clear and concise description of what you expected to happen.
nacos1.4.5版本修改application.properties 端口号8848改为8849,启动是8849,鉴权配置修改后生效。
The application.properties port number 8848 was changed to 8849 in version 1.4.5 of nacos, and it takes effect after the 8849 authentication configuration is modified.

Actually behavior
A clear and concise description of what you actually to happen.

How to Reproduce
Steps to reproduce the behavior:
1.修改application.properties配置文件, application.properties: server.port=8848 为 8849 ;nacos.core.auth.enabled=true;nacos.core.auth.server.identity.key=afa4sj;nacos.core.auth.server.identity.value=afa4sj;

  1. Modify the application.properties configuration file, application.properties: server.port=8848 to 8849 ;nacos.core.auth.enabled=true;nacos.core.auth.server.identity.key=afa4sj;
    2.启动服务,查看端口是否为8849
    2.Start the service and check if the port is 8849
    3.登录nacos管理端,测试鉴权功能
    3.Log in to the nacos management end and test the authentication function

Desktop (please complete the following information):

  • OS: [e.g. Centos]
  • Version [e.g. nacos-server 1.4.5, nacos-client 1.4.5]
  • Module [e.g. application.properties]
  • SDK [e.g. original, spring-cloud-alibaba-nacos, dubbo]

Additional context
Add any other context about the problem here.

@KomachiSion
Copy link
Collaborator

duplicate with #10217

@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2023
@KomachiSion KomachiSion added the status/duplicate This issue or pull request already exists label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants