PlatformLab / grpc_homa

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

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

Closed mikehb closed 1 year ago

mikehb commented 1 year 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 1 year 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 1 year ago

Got it, thanks