aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/server/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/server-commands/server/server.ts')
-rw-r--r--shared/server-commands/server/server.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts
index f2ca51431..ae1395a74 100644
--- a/shared/server-commands/server/server.ts
+++ b/shared/server-commands/server/server.ts
@@ -179,9 +179,9 @@ export class PeerTubeServer {
179 this.rtmpsPort = this.parallel ? this.randomRTMP() : 1937 179 this.rtmpsPort = this.parallel ? this.randomRTMP() : 1937
180 this.port = 9000 + this.internalServerNumber 180 this.port = 9000 + this.internalServerNumber
181 181
182 this.url = `http://localhost:${this.port}` 182 this.url = `http://127.0.0.1:${this.port}`
183 this.host = `localhost:${this.port}` 183 this.host = `127.0.0.1:${this.port}`
184 this.hostname = 'localhost' 184 this.hostname = '127.0.0.1'
185 } 185 }
186 186
187 setUrl (url: string) { 187 setUrl (url: string) {