Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, August 1, 2016 7:49 PM
I am just beginning to learn how to program in Visual Studio Community 2015. The course I'm taking is online and is beginning to teach us how to use the ASP.Net to develop a webpage. When I attempt to execute the debug program for this current project, the program goes to localhost: 49665 and the IIS Express Notifications provides the following information: The specified port is in use Port '49665' is already being used by process 'svchost.exe'(process ID '1268'). Recommendations: 1. Try switching to port other than '49665' and higher than 1024. (2) Stop the application that is using port '49665'.
I have researched how to switch ports, and according to the following URL, https://msdn.microsoft.com/en-us/library/ms178109.aspx, to switch ports, perform the following steps:
In Solution Explorer, click the name of the site.
In the Project menu, click Properties.
Click the Web tab.
Click Specific port and enter a port number.
When attempting to find the Web tab after clicking the name of the site and after clicking Properties, the Web tab appears missing. In view of this, is there another way to either find out which programs are using port '49665' and to change those programs that are using port 49665, or to change the port being used by the Microsoft Visual Studio 2015 project?
Thank you for any help that you maybe able to provide.
J. Lee
All replies (2)
Tuesday, August 2, 2016 1:08 PM ✅Answered | 1 vote
Hi YorkieLover
Could you please share us which kind project you have created, web project or website project?
According to the MSDN document you have posted, which is suitable for website project created by VS2010. And it is not applicable for website project created by VS2015.
However, the perform steps you provided is against web project. In web project, we could right-click the project name and choose Properties but it is not available in website project.
Sincerely,
OSCARW
Tuesday, August 2, 2016 4:29 PM ✅Answered
Hi OSCARW
This is a web project.
Thanks to your question as well as the information you provided, I was able to locate information for VS2015 pertaining to how to switch ports in Visual Studio 2015. The following website provided the specific information I required. http://stackoverflow.com/questions/21202885/how-can-i-change-iis-express-port-for-a-site .
Thank you for your help.
YorkieLover