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 2 1535
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.u k> Sender: "Steve Norman" <ms**@zuna.co.u k> 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: AcOoZSVR8fY1psu 7TyaVcg/RwEPRZA== Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1900 35 NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
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*******@disc ussions.microso ft.com> Sender: "Steve Norman" <an*******@disc ussions.microso ft.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: AcOocxeXVKgKNum rQKaNhBblPKVqlA == Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1900 93 NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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 islistening on port 81. Are you able to browse to any pages (non-aspx) onport 81?
Jim Cheshire [MSFT] Developer Support ASP.NET ja******@onl ine.microsoft.c om
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.u k> Sender: "Steve Norman" <ms**@zuna.co.u k> 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.030 0Thread-Index: AcOoZSVR8fY1psu 7TyaVcg/RwEPRZA== Newsgroup s: microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl
microsoft.pub lic.dotnet.fram ework.aspnet:19 0035NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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 torun any ASP pages we get the default 'Runtime Error' message. The same page runs fine on the same machine onport 80.
Any info on this would be greatly appreciated.
Steve
. . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 1234, but each
instance binds to a different ip address.
that is to say:
instance #1 binds to 192.168.1.5/port 1234
instance #2 binds to 192.168.1.6/port 1234
instance #3 binds to 192.168.1.7/port 1234
|
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, cnhd46, cnhd47.
The new terminal server to use is called 'msp-t01'. The port
numbers that are of interest for the nodes mentioned above are
as follows:
|
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. However, I'm unsure of how
exactly I should be designing the program, I thought I could use
threading to start class:
class scanner(Thread):
def __init__(self,port):
|
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 can I get the number of the dynamic port in the server (in server
code)? Using LocalEndPoint.Port just returns the original listener port
number.
Thanks,
|
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 to access a socket in a way fobidden by its access
permissions."
| |
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, uses the same
server port.
I assumed that a new connection will receive a unique port.
If this is the way its suppose to work, is it a performance issue?
Is it possible that connections from the same IP will connect on the same
server port?
I...
|
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 three hours to three days, then
sometimes when I get a comms error and have to send out a nak character, it
fails hard...
The traceback below pops up. - the first lines are just some debug prints.
|
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 expecting my
connection on a certain port.
Specifically, I'm trying to write an FTP host, and I'm trying to
implement the PORT command. From everything I've read, the client
supplies the IP address and port number for where I'm supposed to
connect...
|
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 am sending a short
message to a group of embedded boxes daisy chained via the serial port.
When I send a 'global' message, all the connected units should reply
with their Id and Ack in this format '0 Ack' To be certain that I
didn't miss a...
|
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)
{
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |