Holochain Forum

[Solved] Sim2h_server failed to launch (AddrInUse)

When I try to launch sim2h_server in nix-shell environment, I get the following error:

payload: Any,
message: Some(
    called `Result::unwrap()` on an `Err` value: Os { code: 98, kind: AddrInUse, message: "Address already in use" },
location: Location {
    file: "src/libcore/result.rs",
    line: 1187,
    col: 5,

Which address is used by sim2h_server?

By default, sim2h_server binds to localhost:9000. Is there a sim2h_server already running perhaps?

Thanks for the port.

I was trying too many things at the same time.