fix default port setting
fixed #9