Skip to content

error creating server listener: No such file or directory (os error 2) ON WSL #1321

Open
@vivian27

Description

@vivian27

I use Ubuntu 20.04 in WSL 1, when i usemdbook serve XXX,there is the os error comes and no respond at both localhost:3000 and 127.0.0.1:3000

version : mdbook v0.4.3

2020-09-09 13:32:22 [INFO] (mdbook::book): Book building has started
2020-09-09 13:32:22 [INFO] (mdbook::book): Running the html backend
2020-09-09 13:32:22 [INFO] (mdbook::cmd::serve): Serving on: http://localhost:3000
thread '' panicked at 'error binding to 127.0.0.1:3000: error creating server listener: No such file or directory (os error 2)', /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/macros.rs:16:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
2020-09-09 13:32:22 [INFO] (mdbook::cmd::watch): Listening for changes...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions