fix a bug missing port number while starting app