<p>Once the shell tells you this:</p>
<blockquote>
<p>Serving HTTP on 0.0.0.0 port 8002 (<a href="http://0.0.0.0:8002/" rel="nofollow noreferrer">http://0.0.0.0:8002/</a>)</p>
</blockquote>
<p>Just go to this location:
http://localhost:8002/haddock/</p>
<p>The given 0.0.0.0:8002 does not work, however these do work:</p>
<p>http://localhost:8002/haddock/</p>
<p>http://localhost:8002/</p>
<p>(Im using WSL too)</p>

CC BY-SA 4.0
2022-01-19T21:03:30.137Z
This did the trick, but I had to do a `cabal build` first as well. Forgot about it.
FTM
CC BY-SA 4.0
2022-01-20T21:18:31.610Z
One more comment. 127.0.0.1 also works (of course).
FTM
CC BY-SA 4.0
2022-01-17T22:05:32.333Z
2022-01-17T22:11:47.310Z
2022-01-17T22:11:47.310Z
LexTRX
<p>The problem: when I run <code>build-and-serve-docs</code> from within a nix-shell and inside the <code>plutus-app</code> repository, the server runs up and on the CLI i get the message <code>Serving HTTP on 0.0.0.0 port 8002 (http://0.0.0.0:8002/) ...</code>. But, when I try to navigate to this address, I get a <code>Not possible to access</code> error message. As if the server was not even running, because I don't even get an HTTP error response.</p>
<p>My environment: WSL2.</p>

CC BY-SA 4.0
2022-01-17T20:37:50.213Z
Maybe try http://127.0.0.1:8002/ ? Both that and 0.0.0.0 work for me
Travis
<plutus-pioneer-program><documentation>
Plutus local haddock server not working
# Plutus local haddock server not working

(Asked by: username_0 on 2022-01-17)

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.

**Tags:** plutus-pioneer-program, documentation
> **Comments:**
> **username_1**: Maybe try http://127.0.0.1:8002/ ? Both that and 0.0.0.0 work for me  

---

## 1 answers

### Answer by username_2 on 2022-01-17. Score: 2 | Accepted answer

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)

> **Comments:**
> **username_0**: This did the trick, but I had to do a `cabal build` first as well. Forgot about it.  
> **username_0**: One more comment. 127.0.0.1 also works (of course).  

---

