houqp edited a comment on pull request #9230:
URL: https://github.com/apache/arrow/pull/9230#issuecomment-767732713
```
let addr: SocketAddr = format!("0.0.0.0:{}", port).parse()?;
println!("Server listening on localhost:{}", addr.port());
```
Perhaps `let addr: SocketAddr ` is not actually binding to a socket and
`addr.port()` is returning `0`?
EDIT:
I was able to confirm that it only does the parsing, `addr.port()` returns 0
instead. We need to bind to an actual socket.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]