Skip to content

Commit cc0a10d

Browse files
committed
change ports for websocket connection
should solve a problem on win
1 parent 5ee33e2 commit cc0a10d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ func main() {
212212
r.Handle("WSS", "/socket.io/", socketHandler)
213213
r.GET("/info", infoHandler)
214214
go func() {
215-
start := 49152
216-
end := 49162
215+
start := 8990
216+
end := 9000
217217
i := start
218218
for i < end {
219219
i = i + 1
@@ -230,8 +230,8 @@ func main() {
230230
}()
231231

232232
go func() {
233-
start := 49152
234-
end := 49162
233+
start := 8990
234+
end := 9000
235235
i := start
236236
for i < end {
237237
i = i + 1

0 commit comments

Comments
 (0)