using 127.0.0.1 instead of localhost

This commit is contained in:
Devaev Maxim 2018-10-28 07:09:00 +03:00
parent ab342111d0
commit c65c710962
5 changed files with 8 additions and 8 deletions

View File

@ -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"

View File

@ -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:

View File

@ -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 {

View File

@ -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()

View File

@ -1,6 +1,6 @@
kvmd:
server:
host: localhost
host: 127.0.0.1
port: 8081
heartbeat: 3.0