aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets/tcp-echo.bun.ts
diff options
context:
space:
mode:
Diffstat (limited to 'bench/snippets/tcp-echo.bun.ts')
-rw-r--r--bench/snippets/tcp-echo.bun.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/snippets/tcp-echo.bun.ts b/bench/snippets/tcp-echo.bun.ts
index 34250d65c..b2a8c26e6 100644
--- a/bench/snippets/tcp-echo.bun.ts
+++ b/bench/snippets/tcp-echo.bun.ts
@@ -36,7 +36,7 @@ setInterval(() => {
const server = listen({
socket: handlers,
- hostname: "localhost",
+ hostname: "0.0.0.0",
port: 8080,
data: {
isServer: true,
@@ -44,6 +44,6 @@ const server = listen({
});
const connection = await connect({
socket: handlers,
- hostname: "localhost",
+ hostname: "0.0.0.0",
port: 8080,
});