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

A small question about the servant. #707

Closed TARS-Question closed 4 years ago

TARS-Question commented 4 years ago

During development and testing, the client directly connects to the service on the node node. The client configures the server parameters that need to be requested,

#707(1)

the name in front of @ and the back in @ If the IP port number does not match, it can still be called.

#707(2)

Is it because the service name is not important when directly connected to the node?

TARS-Answer commented 4 years ago

Because the tars protocol server will verify this name, the http protocol is not important.

TARS-Answer commented 4 years ago

因为tars协议服务端会验证这个名称,所以http协议就不重要了。