redirected port and fix disconected message