diff --git a/app/event/[id]/page.tsx b/app/event/[id]/page.tsx index e575aa0..637ea80 100644 --- a/app/event/[id]/page.tsx +++ b/app/event/[id]/page.tsx @@ -65,7 +65,7 @@ export default function EventPage() { .then(({ io }) => { if (!mounted) return; const socketPort = process.env.NEXT_PUBLIC_SOCKET_PORT || "4000"; - const socket = io(`http://localhost:${socketPort}`, { + const socket = io(`http://10.20.0.188:${socketPort}`, { autoConnect: true }); socketRef.current = socket;