python -m http.server gives "Serving HTTP on :: port 8000 (http://[::]:8000/) ..." Vs "Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ..."

929 views Asked by At

I'm very inexpert at this but when I use on different projects:

python -m http.server

a project answers with:

Serving HTTP on :: port 8000 (http://[::]:8000/) ...

the other with:

Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...

I visit the pages on:

http://localhost:8000/

it works in either cases but there is a difference?

The projects are simply sphinx documents (I use miniconda on windows, different version of python and sphinx but the configuration should be almost the same). The sys.path has the same shape. Sorry but I have no idea what you need to know, so ask me.

Thank you

0

There are 0 answers