1

The problem: when I run build-and-serve-docs from within a nix-shell and inside the plutus-app repository, the server runs up and on the CLI i get the message Serving HTTP on 0.0.0.0 port 8002 (http://0.0.0.0:8002/) .... But, when I try to navigate to this address, I get a Not possible to access error message. As if the server was not even running, because I don't even get an HTTP error response.

My environment: WSL2.

1
  • Maybe try 127.0.0.1:8002 ? Both that and 0.0.0.0 work for me
    – Travis
    Commented Jan 17, 2022 at 20:37

1 Answer 1

2

Once the shell tells you this:

Serving HTTP on 0.0.0.0 port 8002 (http://0.0.0.0:8002/)

Just go to this location: http://localhost:8002/haddock/

The given 0.0.0.0:8002 does not work, however these do work:

http://localhost:8002/haddock/

http://localhost:8002/

(Im using WSL too)

2
  • This did the trick, but I had to do a cabal build first as well. Forgot about it.
    – FTM
    Commented Jan 19, 2022 at 21:03
  • One more comment. 127.0.0.1 also works (of course).
    – FTM
    Commented Jan 20, 2022 at 21:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.