added ip and port setting ( maybe should be moved to the landscape model )