473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

changing the asp.net development server port?

At my new job the asp.net development server port is 2204. So the only way
for me to test aspx pages is by typing "localhost:2204/myapp/default.aspx".
At my old job this port was not enabled and I could simply type
localhost/myapp/default.aspx. Is there a way to change this somewhere? Why
would this be configured this way?

Any help would be greatly appreciated.
Jan 19 '06 #1
2 11607
You must be using a file-based web project... Those start the little web
server that always runs on a non-standard port (so as to not interfere with
IIS which runs on port 80). The port number that is used for this is now in
the solution file (because MS is absolutely sure that we hate project files
for web projects ;-) ). Back up your solution file, open the .sln file with
notepad, and look for an entry like "VWDPort = "3366"" which is where the
port number is configured.

You can change it, but VS will change it automatically again when there is
some sort of problem (ie, your VS2005 just crashed and the web server is
still running and taking up the port, so another port is automagically
assigned ad your VS solution file is auto-changed with the new port number
accordingly).

"ASP Developer" <AS**********@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
At my new job the asp.net development server port is 2204. So the only
way
for me to test aspx pages is by typing
"localhost:2204/myapp/default.aspx".
At my old job this port was not enabled and I could simply type
localhost/myapp/default.aspx. Is there a way to change this somewhere?
Why
would this be configured this way?

Any help would be greatly appreciated.

Jan 19 '06 #2
The port is a function of IIS. If the particular server is set to serve on a
port other than port 80, you have to append the port to the server or domain
name. Ask the admin to see if there is a specific reason it was set this way
(usually means that another web is being served on port 80 such as an
intranet or a live website). Hopefully they have a good reason. Other than
that, the only way to change this is by changing the port that the IIS
virtual server listens on.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"ASP Developer" <AS**********@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
At my new job the asp.net development server port is 2204. So the only
way
for me to test aspx pages is by typing
"localhost:2204/myapp/default.aspx".
At my old job this port was not enabled and I could simply type
localhost/myapp/default.aspx. Is there a way to change this somewhere?
Why
would this be configured this way?

Any help would be greatly appreciated.

Jan 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RWC | last post by:
Hello, I have SQL Server 2000 Enterprise Edition, and I'd like to change the default port to something else (we'll use 2033 for this example). I've tried to connect from another computer on the...
7
by: Alan Silver | last post by:
Hello, I would like to create a new web site with VWD, but would like to run it under IIS, not the development server. One reason for this is that I want the web site to be at the domain root,...
2
by: Aras Kucinskas | last post by:
The “The page cannot be displayed” error occurs when debugging ASP.NET web application using VS 2005. ASP.NET Development Server icon in taskbar shows that application is starting on port 2795 but...
0
by: leroymason | last post by:
When I was creating an ASP.NET 2.0 web site on a site on a remote server not on port 80 I was getting the error '\server:port\' is not a valid virtual path. This does not happen on my local...
1
by: byteschreck | last post by:
Hello! I have a solution (Studio 2005) that contains a web service project, and when I debug it, the development server starts and works fine. However, I have other projects in the solution,...
2
by: Urs | last post by:
Hi I would like to debug parts of my application in IIS rather than ASP.NET development server, in order to see external clients come in. Accessing the dvelopment server thru the indicated port...
4
by: David | last post by:
Is the Development Server part of the .net 2x runtime package or installed with one installs VS 2005? I wish to run a small web app on a machine, with the runtime installed, and need to know if I...
1
by: Lit | last post by:
Hi, My web app works when it is in the "Visual Studio Development Server with a Port Number", But It does not work when I use " Use IIS web Server" What Gives? Permissions? What to...
4
by: BillE | last post by:
Using VS 2008 In my solution I have both web projects and windows forms projects. I want to prevent web developement servers from being created unnecessarily. Even if I have a windows form...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.