twitter / pelikan

Pelikan is Twitter's unified cache backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust/core: add a clear error message if port is bound

brayniac opened this issue · comments

Describe the bug
If we start a Rust-based server and the port is already bound, the process exits with status of 1 and displays no error message.

To Reproduce
Start two copies of any of the Rust servers.

Expected behavior
Second copy of the server should display an error message that the port is already bound before exiting.