configuration dialog for setting port and hostname