TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.79k stars 2.08k forks source link

Must 3000 and 3001 be specified for this web port? #753

Closed TARS-Question closed 4 years ago

TARS-Question commented 4 years ago

#753(1)

#753(2)

TARS-Answer commented 4 years ago

3008:3000 3009:3001

TARS-Question commented 4 years ago

In other words, the container port must specify 3000 and 3001, and the external port is optional, right?

TARS-Question commented 4 years ago

也就是说,容器端口必须指定3000 和3001,外部端口随意,是吗?

TARS-Answer commented 4 years ago

Yes, unless you change the configuration of tarsweb. However, it is best not to modify the port number. If the login jump address is written dead in the configuration file of the web project and the port number of the login service is changed, the login jump will fail.

TARS-Answer commented 4 years ago

对,除非你改tarsweb的配置。不过最好是不要修改端口号,web 项目里配置文件中写死了登录跳转地址,改了登录服务的端口号,登录跳转会失败。

TARS-Question commented 4 years ago

Is the node port limited?

TARS-Question commented 4 years ago

那node节点端口有限制吗?

TARS-Answer commented 4 years ago

No.

TARS-Answer commented 4 years ago

没有。