The backend uses IP and port binding in order to allow the OS to have multiple IPs. The binding/listening IP and port are specified by the core module
core: default: restHost: 0.0.0.0 restPort: 12800 restContextPath: / gRPCHost: 0.0.0.0 gRPCPort: 11800
There are two IP/port pairs for gRPC and HTTP REST services.
For users unfamiliar with IP binding, note that once IP binding is complete, the client could only use this IP to access the service. For example, if 172.09.13.28
is bound, even if you are in this machine, you must use 172.09.13.28
, rather than 127.0.0.1
or localhost
, to access the service.
The IP and port in the core module are provided by default. But it is common for some module providers, such as receiver modules, to provide other IP and port settings.