From: Enrique Hernandez Date: Thu, 11 Feb 2021 22:49:03 +0000 (-0600) Subject: fix connection timeout issue X-Git-Tag: v0.9~82^2~15^2 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=7224f62f5a6d00b972004b8f6c4ed142db15e396;p=mime-chat fix connection timeout issue --- diff --git a/src/background/session.ts b/src/background/session.ts index 6fb80eb..8fba658 100644 --- a/src/background/session.ts +++ b/src/background/session.ts @@ -23,8 +23,8 @@ interface TextMessage { content: string; } -const ip = 'ws://localhost'; -const port = 8080; +const ip = 'ws://127.0.0.1'; +const port = 8081; const reconnectTimeout = 3000; //ms let socket: WebSocket; let success = false;