Run ASP.NET on Port 81

  • Thread starter Thread starter Steve Norman
  • Start date Start date
S

Steve Norman

Hi All,

Is it possible to run an ASP.NET website on any other
port except the default of 80?

We have a dev site set up on port 81, but when we try to
run any ASP pages we get the default 'Runtime Error'
message. The same page runs fine on the same machine on
port 80.

Any info on this would be greatly appreciated.

Steve
 
Steve,

There should be no problem in doing so provided that nothing else is
listening on port 81. Are you able to browse to any pages (non-aspx) on
port 81?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
 
Steve,

Glad you fixed it, but just FYI, the article you reference isn't going to
cause a failure on one particular port. If you are encountering that
issue, it will fail on any port. From the looks of it, it wasn't really
related to the port, right? Don't you hate those red herrings? :)

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Steve Norman" <[email protected]>
Sender: "Steve Norman" <[email protected]>
References: <[email protected]>
Subject: RE: Run ASP.NET on Port 81
Date: Tue, 11 Nov 2003 08:44:36 -0800
Lines: 89
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOocxeXVKgKNumrQKaNhBblPKVqlA==
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:190093
NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I have just found the solution, and it is all down to
permissions on the folder. Info from KB:

http://support.microsoft.com/default.aspx?scid=kb;EN-
US;316721

-----Original Message-----
Jim,

Yes, HTML and basic ASP pages work fine, it is just
ASP.NET pages?

I tested this simply by having a 2 pages, test.asp &
test.aspx in the root directory of the server running on
port 81 with the following code in them:

<%
Response.write("Hello, World")
%>

test.asp works fine, but test.aspx does not. (The page
text.aspx works fine when on port 80).

Any ideas that I can try?

Steve
-----Original Message-----
Steve,

There should be no problem in doing so provided that nothing else is
listening on port 81. Are you able to browse to any pages (non-aspx) on
port 81?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Steve Norman" <[email protected]>
Sender: "Steve Norman" <[email protected]>
Subject: Run ASP.NET on Port 81
Date: Tue, 11 Nov 2003 07:04:46 -0800
Lines: 13
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOoZSVR8fY1psu7TyaVcg/RwEPRZA==
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:190035
NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi All,

Is it possible to run an ASP.NET website on any other
port except the default of 80?

We have a dev site set up on port 81, but when we try to
run any ASP pages we get the default 'Runtime Error'
message. The same page runs fine on the same machine on
port 80.

Any info on this would be greatly appreciated.

Steve


.
.
 
Back
Top