re:
1) So that the port can be pegged (seems to be random)?
To change the port from dynamic to fixed, click on the Project's name
( address for its source files ) in the Solution Explorer.
Then, go to the "Properties" dialog box on the bottom right.
Change the "Use dynamic port" dropdown to "False" and set whatever port you want to set.
From that point on the port won't be random.
The server will use whatever pot you configured it to use.
re:
2) So that can access the server using hostname other than localhost?
You can't do that unless you run your app under IIS.
You must publish your website to localhost if you want
to use a different hostname or your machine's name.
re:
Don't call it that. Call it the "ASP.NET Development Web Server" or the "VS internal web server".
Although it's based on Cassini's source, it does a lot more than Cassini ever did.
Btw, if you're using the .Net Framework 1.1, and not 2.0,
you might want to take a look at CassiniEx :
http://www.systemex.net/CassiniEx/
It's a development server based on Cassini, much modified,
which allows multiple host headers and ports for the applications it runs.
Take a couple of minutes to check out its readme file :
http://www.systemex.net/CassiniEx/README.txt
You can also download its source if you want to play with its features.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================