making 127.0.0.1 rather than 0.0.0.0

This commit is contained in:
Liam Hoflay 2025-01-23 10:25:13 +00:00
parent 2569015b9f
commit 27145add3a
4 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ def find_free_port(
exclude_ports (list, tuple, set): List of ports that won't be
checked form entered range.
host (str): Host where will check for free ports. Set to
"0.0.0.0" by default.
"127.0.0.1" by default.
"""
if port_from is None:
port_from = 8079
@ -42,7 +42,7 @@ def find_free_port(
# Default host is localhost but it is possible to look for other hosts
if host is None:
host = "0.0.0.0"
host = "127.0.0.1"
found_port = None
while True:
@ -78,7 +78,7 @@ class WebServerManager:
self._log = None
self.port = port or 8079
self.host = host or "0.0.0.0"
self.host = host or "127.0.0.1"
self.on_stop_callbacks = []

View file

@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""Package declaring AYON addon 'core' version."""
__version__ = "1.0.15-dev"
__version__ = "1.0.14-bk.1"

View file

@ -1,6 +1,6 @@
name = "core"
title = "Core"
version = "1.0.15-dev"
version = "1.0.14-bk.1"
client_dir = "ayon_core"

View file

@ -5,7 +5,7 @@
[tool.poetry]
name = "ayon-core"
version = "1.0.15-dev"
version = "1.0.14-bk.1"
description = ""
authors = ["Ynput Team <team@ynput.io>"]
readme = "README.md"