PlatformLab / grpc_homa

Allows Homa to be used as a transport with gRPC.
25 stars 5 forks source link

Couldn't bind Homa socket to port 40000: Invalid argument #10

Closed mikehb closed 10 months ago

mikehb commented 11 months ago

port 4000 works, while 40000 doesn't E1012 20:35:17.696976171 42868 homa_socket.cc:51] Couldn't bind Homa socket to port 40000: Invalid argument

johnousterhout commented 11 months ago

This is intentional: only the first 32K of the port number space is available for binding. The high half of the port space is used by Homa to assign ports to sockets that don't bind (i.e. typically sockets used only by clients).

mikehb commented 10 months ago

Got it, thanks