If you want to view the ports in the project file, please click on the. Vs folder->; Configuration-> In the applicationhost.webconfig file.
Note that the folder vs is hidden and you need to show it.