summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/kvmd/v1-hdmi.yaml4
-rw-r--r--configs/kvmd/v1-vga.yaml4
-rw-r--r--configs/nginx/nginx.conf4
-rw-r--r--kvmd/extras/wscli/__init__.py2
-rw-r--r--testenv/kvmd.yaml2
5 files changed, 8 insertions, 8 deletions
diff --git a/configs/kvmd/v1-hdmi.yaml b/configs/kvmd/v1-hdmi.yaml
index 2ca573e1..1f31f4ef 100644
--- a/configs/kvmd/v1-hdmi.yaml
+++ b/configs/kvmd/v1-hdmi.yaml
@@ -1,6 +1,6 @@
kvmd:
server:
- host: localhost
+ host: 127.0.0.1
port: 8081
heartbeat: 3.0
@@ -59,7 +59,7 @@ kvmd:
- "--encoder=omx"
- "--quality={quality}"
- "--dv-timings"
- - "--host=localhost"
+ - "--host=127.0.0.1"
- "--port=8082"
- "--drop-same-frames=30"
diff --git a/configs/kvmd/v1-vga.yaml b/configs/kvmd/v1-vga.yaml
index 48b8e511..055c8363 100644
--- a/configs/kvmd/v1-vga.yaml
+++ b/configs/kvmd/v1-vga.yaml
@@ -1,6 +1,6 @@
kvmd:
server:
- host: localhost
+ host: 127.0.0.1
port: 8081
heartbeat: 3.0
@@ -63,7 +63,7 @@ kvmd:
- "--height=576"
- "--fake-width=800"
- "--fake-height=600"
- - "--host=localhost"
+ - "--host=127.0.0.1"
- "--port=8082"
logging:
diff --git a/configs/nginx/nginx.conf b/configs/nginx/nginx.conf
index e5fd03c4..f831106e 100644
--- a/configs/nginx/nginx.conf
+++ b/configs/nginx/nginx.conf
@@ -31,11 +31,11 @@ http {
uwsgi_temp_path /tmp/nginx.uwsgi_temp;
upstream kvmd {
- server localhost:8081 fail_timeout=0s max_fails=0;
+ server 127.0.0.1:8081 fail_timeout=0s max_fails=0;
}
upstream ustreamer {
- server localhost:8082 fail_timeout=0s max_fails=0;
+ server 127.0.0.1:8082 fail_timeout=0s max_fails=0;
}
#PROD server {
diff --git a/kvmd/extras/wscli/__init__.py b/kvmd/extras/wscli/__init__.py
index aa2d2e63..19d3181b 100644
--- a/kvmd/extras/wscli/__init__.py
+++ b/kvmd/extras/wscli/__init__.py
@@ -41,7 +41,7 @@ async def _run_client(loop: asyncio.AbstractEventLoop, url: str) -> None:
def main() -> None:
parser = argparse.ArgumentParser()
- parser.add_argument("-u", "--url", default="http://localhost:8081/ws")
+ parser.add_argument("-u", "--url", default="http://127.0.0.1:8081/ws")
options = parser.parse_args()
loop = asyncio.get_event_loop()
diff --git a/testenv/kvmd.yaml b/testenv/kvmd.yaml
index cb981f0a..93ab087b 100644
--- a/testenv/kvmd.yaml
+++ b/testenv/kvmd.yaml
@@ -1,6 +1,6 @@
kvmd:
server:
- host: localhost
+ host: 127.0.0.1
port: 8081
heartbeat: 3.0