fixed connection closing panic. updated default config (required port number)