grpc and http cannot successfully listen to port
Why does the command keep running after entering go run sdk/examples/server.go but does not succeed?
hi @happydogggg
Thanks for creating the issue. I ran the example server locally for me and got the following:
go run sdk/examples/server.go
INFO[0000] http listening
INFO[0000] gRPC listening
The server.go uses the following hardcoded values https://github.com/nginx/agent/blob/main/sdk/examples/server.go#L27 since it is for example Management Servers only. You may need to add these ports 54789 and 54790 to your firewall rules to allow them or change these values to allow ports that you allow.
Please let me know if you have any other questions
Hi @happydogggg
As there hasn't been any further response, I'm going to close this issue. If you have any other questions or need further assistance, please feel free to reopen this issue or create a new one.
Thank you!
Best regards, @oCHRISo