Hi everyone, I started to learn Ktor. However I am not even able to run the application. It throws an error saying that
Exception in thread "main" java.net.BindException: Address already in use: bind. I appreciate for any help!
r
robert
01/13/2023, 12:12 PM
Means something is already running on the port you selected. Quickest is just change the port you are wanting to use
🙌 1
g
Gabriel Luchtenberg
01/13/2023, 1:07 PM
you can change the port by updating the
application.conf
file
🙌 1
a
Andrew O'Hara
01/13/2023, 1:20 PM
You might also want to ensure you don't have any other instances of your app currently running; as they may already be bound to your chosen port.