allow port to be specified when activating web mode