I'm trying to change the default random port but its still taking random port, what could be the issue, I had tried mulitple times but no luck.

enter image description here

  • what you mean by its not getting? after checking the box(specify the port) and entering the new port number (2000) and click next.what you get on the next page? – Waqas Sarwar MVP Jul 19 '18 at 14:26
  • Its always taking random port even if I specify port. – Light Jul 20 '18 at 5:12
  • Can u share screen shot after entering port 2300, click next (this screenshot) and last summary page screen – Waqas Sarwar MVP Jul 20 '18 at 5:23
  • I tried with 2300, I got error log with different port: A SocketException was thrown with SocketError ConnectionRefused Connect has been refused for port 32457, so we will consider this a free port Have not found a free port yet. Number of tries is 1. Min port we will try is 1024, Max port we will try is 49151 Adding port 32457 to the exclusion list so it is not chosen again during this run – Light Jul 20 '18 at 5:26
  • It always taking random port – Light Jul 20 '18 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.