Skip to content

Commit

Permalink
Fix host for ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Sep 23, 2024
1 parent bafe950 commit f453247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class EmmyAttachDebugProcess(
while (port > 0xffff) port -= 0xffff
while (port < 0x400) port += 0x400

val transporter = SocketClientTransporter("localhost", port)
val transporter = SocketClientTransporter("::1", port)
transporter.handler = this
transporter.logger = this
this.transporter = transporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class EmmyConfigAttachDebugProcess(
while (port > 0xffff) port -= 0xffff
while (port < 0x400) port += 0x400

val transporter = SocketClientTransporter("localhost", port)
val transporter = SocketClientTransporter("::1", port)
transporter.handler = this
transporter.logger = this
this.transporter = transporter
Expand Down

0 comments on commit f453247

Please sign in to comment.