Enable ipv6
Setting the listen address to :: puts flask into ipv6 mode. This makes it compatible with ipv6 and, thanks to the system automatically translating ipv4 into ipv6, it is completely compatible with ipv4 as well.
This commit is contained in:
parent
bcd6f426cc
commit
6213620031
1 changed files with 1 additions and 1 deletions
|
|
@ -175,4 +175,4 @@ if __name__ == "__main__":
|
|||
from labthings.server.wsgi import Server
|
||||
|
||||
server = Server(app)
|
||||
server.run(host="0.0.0.0", port=5000, debug=False, zeroconf=True)
|
||||
server.run(host="::", port=5000, debug=False, zeroconf=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue