diff --git a/src/Main.kt b/src/Main.kt index fbdecaa..d3ca895 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -52,6 +52,8 @@ object Main { @JvmStatic fun main(vararg args: String) { val server = ChatServer(DEFAULT_PORT).apply { + isReuseAddr = true + start() }