Hi Marlysson, I was also surprised by this display, you are not doing anything wrong, waitress uses the method *socket.getfqdn()* to complete the hostname and this method returns LAPTOP.. on Windows.
Best Regards. Le jeu. 26 déc. 2019 à 03:44, Marlysson Silva <[email protected]> a écrit : > When I ran the following code: > > waitress.serve(application,host='localhost',port=8000) > > In the terminal appears the other name instead of host defined in command: > > Serving on http://LAPTOP-O4GOA2OU:8000 > > There's some problem with how I called the server? > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/c35888ed-70ba-47aa-83a4-74f6646a7d98%40googlegroups.com > <https://groups.google.com/d/msgid/pylons-discuss/c35888ed-70ba-47aa-83a4-74f6646a7d98%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- *Tewouda T. R. Kevin* *Ingénieur informatique options génie logiciel et réseaux informatiques à 3IL* *Titulaire d'un diplôme post master en télécoms à Télécoms Paris Tech* *Consultant informatique pour le compte d'Adneom* -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAGuvToagyNVGD7%2BzS15eVfkM_74JAUK9srW_Q%2B_z1%3DNTHLMzcA%40mail.gmail.com.
