Reputation: 121
When i run silverlight 4 application with the developer server, it seems to use a default port as localhost port 1091. How do i change to a different port?
Upvotes: 1
Views: 678
Reputation: 137128
You can set this in the web project settings.
Right click over the project to bring up the settings. Go to the Web tab and there under "Servers" is an option to either Auto-assign the port or set a specific port. Select "Specific port" and enter the value you want.
In VS2008:
In VS2010 the tabs have been reordered:
but all the actual settings are the same
Upvotes: 4
Reputation: 14418
In the properties window on the website, there is an option to assign it as dynamic or choose a fixed port called "Use dynamic port", set this to false and then choose your port number.
Or take a look here:
How to: Specify a Port for the ASP.NET Development Server
Upvotes: 0