473,386 Members | 1,773 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,386 software developers and data experts.

Run ASP.NET on Port 81

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
Nov 17 '05 #1
2 1520
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
ja******@online.microsoft.com

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

--------------------
Content-Class: urn:content-classes:message
From: "Steve Norman" <ms**@zuna.co.uk>
Sender: "Steve Norman" <ms**@zuna.co.uk>
Subject: Run ASP.NET on Port 81
Date: Tue, 11 Nov 2003 07:04:46 -0800
Lines: 13
Message-ID: <10****************************@phx.gbl>
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


Nov 17 '05 #2
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
ja******@online.microsoft.com

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

--------------------
Content-Class: urn:content-classes:message
From: "Steve Norman" <an*******@discussions.microsoft.com>
Sender: "Steve Norman" <an*******@discussions.microsoft.com>
References: <10****************************@phx.gbl> <nP*************@cpmsftngxa06.phx.gbl>
<12****************************@phx.gbl>Subject: RE: Run ASP.NET on Port 81
Date: Tue, 11 Nov 2003 08:44:36 -0800
Lines: 89
Message-ID: <11****************************@phx.gbl>
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
ja******@online.microsoft.com

This post is provided as-is with no warranties and

confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Steve Norman" <ms**@zuna.co.uk>
Sender: "Steve Norman" <ms**@zuna.co.uk>
Subject: Run ASP.NET on Port 81
Date: Tue, 11 Nov 2003 07:04:46 -0800
Lines: 13
Message-ID: <10****************************@phx.gbl>
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 MimeOLEV5.50.4910.0300Thread-Index: AcOoZSVR8fY1psu7TyaVcg/RwEPRZA==
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:19003 5
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
.

.


Nov 17 '05 #3

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

Similar topics

21
by: Alexander N. Spitzer | last post by:
If I have a machine with 3 virtual IP addresses (192.168.1.), how can I start 3 instances of the same RMI application (each started with different properties/configs), each listening on the port...
0
by: per.bergstrom | last post by:
To whom it may concern, The serial port server 'cnhd38' has been terminated (on who's initiative, I don't know). It affects the users of the (at least) following nodes: cnhd36, cnhd44, cnhd45,...
2
by: willie | last post by:
Hi, I'm writing a program which requires the use of three serial ports and one parallel port. My application has a scanning devices on each port, which I can access fine with pyserial. ...
5
by: Jason | last post by:
After a server accepts a client connection on a certain port, a new socket is created on the server on a system managed dynamic port to handle the connection. Please confirm this. If so, how...
6
by: kai | last post by:
Hi, I was tring to run an example (HelloWorld.aspx) from MSPrss book, I get this message: "ASP.NET Development Server faild to start listening port 1034. Error message: An attempt was made...
7
by: Sharon | last post by:
Hi all, I've implemented a TCP server using the Socket async methods. When connecting to the server from 3 instances of hyper terminal, i've noticed that each of the newly created server sockets,...
4
by: H J van Rooyen | last post by:
Hi All, I am writing a polling controller for an RS-485 line that has several addressable devices connected. It is a small access control system. All is well- the code runs for anything from...
25
by: bmearns | last post by:
Is it possible to specify which port to use as the outbound port on a connection? I have the IP address and port number for the computer I'm trying to connect to (not listening for), but it's...
13
by: Rob | last post by:
Hi all, I am fairly new to python, but not programming and embedded. I am having an issue which I believe is related to the hardware, triggered by the software read I am doing in pySerial. I...
5
by: Maciej Sondej | last post by:
Hi, I have problem. I want to react on event which come from IO.Port(RS232). I have a class that works on console application class Program { static void Main(string args) {
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.