Skip to content

Commit e6b9cf9

Browse files
matteo8pMatthew Wang
andauthored
Fix port vuln (#1152)
Co-authored-by: Matthew Wang <[email protected]>
1 parent 0896edb commit e6b9cf9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

server/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import "./sentry";
2-
import * as Sentry from "@sentry/node";
3-
41
import { serve } from "@hono/node-server";
52
import dotenv from "dotenv";
63
import fixPath from "fix-path";
@@ -283,7 +280,7 @@ logBox(`http://${SERVER_HOSTNAME}:${displayPort}`, "🎵 MCPJam");
283280
const server = serve({
284281
fetch: app.fetch,
285282
port: SERVER_PORT,
286-
hostname: "0.0.0.0", // Bind to all interfaces for Docker
283+
hostname: "127.0.0.1",
287284
});
288285

289286
// Handle graceful shutdown

0 commit comments

Comments
 (0)