Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Already in bind error still prevails #47

Closed
pokemonfan6498 opened this issue Mar 21, 2024 · 16 comments
Closed

Already in bind error still prevails #47

pokemonfan6498 opened this issue Mar 21, 2024 · 16 comments

Comments

@pokemonfan6498
Copy link

I did everything like in solution to my issue was said but i still get same error even after disabling ICS

@kuroppoi
Copy link
Owner

A program on your PC is already using UDP port 53 and if it's not ICS then I don't know what it is.
You could try running netstat -aof | findstr :53 in a command prompt to find the process ID of the program that's using it and then kill it using task manager.

@pokemonfan6498
Copy link
Author

umm im using windows 10

@kuroppoi
Copy link
Owner

That's what the instruction is for.

@pokemonfan6498
Copy link
Author

pokemonfan6498 commented Mar 22, 2024

well i did run it and it showed this
TCP 0.0.0.0:5357 genuine.adobe.com:0 LISTENING 4
TCP 127.0.0.1:53 genuine.adobe.com:0 LISTENING 4536
TCP [::]:5357 DESKTOP-46EMNAI:0 LISTENING 4
TCP [::1]:53 DESKTOP-46EMNAI:0 LISTENING 4536
UDP 0.0.0.0:5353 : 4712
UDP 0.0.0.0:5353 : 2172
UDP 0.0.0.0:5353 : 4712
UDP 0.0.0.0:5355 : 2172
UDP 0.0.0.0:53768 : 2876
UDP 0.0.0.0:53837 : 3540
UDP 127.0.0.1:53 : 4536
UDP [::]:5353 : 4712
UDP [::]:5353 : 2172
UDP [::]:5355 : 2172
UDP [::1]:53 : 4536

@kuroppoi
Copy link
Owner

The number on the far right is the process ID, so it seems as though process 4536 is what's hogging the port.
You can find and terminate the process in question at Task Manager -> Details or by running the command
taskkill /f /pid 4536 in a command prompt.

@pokemonfan6498
Copy link
Author

pokemonfan6498 commented Mar 22, 2024

it worked but after i reset pc it had diffrent error
2024-03-22 19:38:03.749 ERROR : Could not start DNS server
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:565) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bindInternal(DatagramChannelImpl.java:1329) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:1299) ~[?:?]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:133) ~[entralinked.jar:?]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:130) ~[entralinked.jar:?]
at java.security.AccessController.doPrivileged(AccessController.java:571) ~[?:?]
at io.netty.util.internal.SocketUtils.bind(SocketUtils.java:130) ~[entralinked.jar:?]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind0(NioDatagramChannel.java:201) ~[entralinked.jar:?]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind(NioDatagramChannel.java:196) ~[entralinked.jar:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) ~[entralinked.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) ~[entralinked.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506) ~[entralinked.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491) ~[entralinked.jar:?]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) ~[entralinked.jar:?]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260) ~[entralinked.jar:?]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) ~[entralinked.jar:?]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[entralinked.jar:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[entralinked.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[entralinked.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) ~[entralinked.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[entralinked.jar:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[entralinked.jar:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[entralinked.jar:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]

@pokemonfan6498
Copy link
Author

does the program always looks for new port?

@kuroppoi
Copy link
Owner

It does not.
Whatever keeps using port 53 is probably starting automatically every time you turn on your PC, so you'll have to either do something about that or find & kill the process every time.

@pokemonfan6498
Copy link
Author

pokemonfan6498 commented Mar 22, 2024 via email

@kuroppoi
Copy link
Owner

You just follow the instructions again that I gave you earlier.

@pokemonfan6498
Copy link
Author

pokemonfan6498 commented Mar 22, 2024 via email

@kuroppoi
Copy link
Owner

Weird.
Are you maybe using a VPN?

@pokemonfan6498
Copy link
Author

pokemonfan6498 commented Mar 22, 2024 via email

@kuroppoi
Copy link
Owner

But does Game Sync work or not?

@pokemonfan6498
Copy link
Author

pokemonfan6498 commented Mar 23, 2024 via email

@ketsuban
Copy link

ketsuban commented Apr 10, 2024

For me taskkill didn't help because the PID that was bound to port 53 was an instance of svchost.exe which just got restarted when I killed it, so I did some more digging. The culprit turned out to be two Windows services (Host Network Service and Internet Connection Sharing). I disabled those and that got entralinked working.

Note that this breaks Windows Subsystem for Linux, if you happen to use that.

@kuroppoi kuroppoi closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants