Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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/) ..."

Ask Question

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

@tbhaxor thank you, but like I said I'm ignorant on this, so what? Should I ignore the difference? fabio Aug 11, 2022 at 11:51 Yes, you should. Basically the http.server module prioritize ipv6 if available otherwise go for ipv4. tbhaxor Aug 11, 2022 at 11:57 Are both projects run on the same computer? There probably is a difference in python versions between the two? FlyingTeller Aug 12, 2022 at 9:14 @FlyingTeller Yes, they are on the same pc but they use different python (and sphinx) versions installed on different conda environments. fabio Aug 12, 2022 at 10:30

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .