Added a option that the user can wright the ip and port