You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run adev runserver test.py -p 4000 --host "192.168.2.6" or with whatever appropriate IP you like.
In another terminal, run netstat -ant | grep 4000
Adev sends us mixed messages about the setting working:
$ adev runserver test.py -p 4000 --host "192.168.2.6"
[08:27:11] Starting aux server at http://192.168.2.6:4001 ◆
[08:27:11] Starting dev server at http://192.168.2.6:4000 ●
======== Running on http://0.0.0.0:4001 ========
(Press CTRL+C to quit)
But the truth is that it only listened on IPv4 0.0.0.0:
Issue Summary
The documented host setting is not respected, and instead the app always binds to IPv4 0.0.0.0 only.
Steps to reproduce
test.py
with the example server from https://docs.aiohttp.org/en/stable/web_quickstart.html#run-a-simple-web-serveradev runserver test.py -p 4000 --host "192.168.2.6"
or with whatever appropriate IP you like.netstat -ant | grep 4000
Adev sends us mixed messages about the setting working:
But the truth is that it only listened on IPv4 0.0.0.0:
The text was updated successfully, but these errors were encountered: