473,573 Members | 2,922 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

faild to start listening port 1034

kai
Hi,
I was tring to run an example (HelloWorld.asp x) 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."

I cannot fix it. Please help.

Thanks
Kai


Nov 20 '05 #1
6 3097
Hi Kai,

Welcome to ASPNET newsgroup.
From your description, when you try running an ASP.NET 2.0 web app in
VS.NET 2005 through filesystem server, you got the following error:

"ASP.NET Development Server faild to start listening port 1034."

From the exception info, it is caused by the random port for running VS.NET
2005 debug server not accessible. What's the OS version of the development
server? You can try turn off the windows firewall to see whether it is the
cause. Also, as for developing the ASP.NET 2.0 project in VS.NET 2005
through filesystem, we can manually specify a port number for the project.
Just select the ASP.NET project in VS2005 ide, and set the "use dynamic
port" property to "false" in the project setting, then we can manually
specify a unused port number. Please try using some other ports to see
whether you also get such error. If there're any other finding, please feel
free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "kai" <ka******@earth link.net>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Subject: faild to start listening port 1034
| Lines: 21
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <tF************ ****@newsread1. news.atl.earthl ink.net>
| Date: Sun, 20 Nov 2005 22:21:13 GMT
| NNTP-Posting-Host: 66.32.86.150
| X-Complaints-To: ab***@earthlink .net
| X-Trace: newsread1.news. atl.earthlink.n et 1132525273 66.32.86.150 (Sun,
20 Nov 2005 14:21:13 PST)
| NNTP-Posting-Date: Sun, 20 Nov 2005 14:21:13 PST
| Organization: EarthLink Inc. -- http://www.EarthLink.net
| Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTFEED02.ph x.gbl!tornado.f a
stwebnet.it!tis cali!newsfeed1. ip.tiscali.net! newshub.sdsu.ed u!nx02.iad01.ne w
shosting.com!ne wshosting.com!2 07.69.154.102.M ISMATCH!elnk-atl-nf2!newsfeed.e
arthlink.net!st amper.news.atl. earthlink.net!n ewsread1.news.a tl.earthlink.ne t
POSTED!a96f5a29 !not-for-mail
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3596 67
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hi,
| I was tring to run an example (HelloWorld.asp x) 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."
|
| I cannot fix it. Please help.
|
| Thanks
| Kai
|
|
|
|
|
|
|

Nov 21 '05 #2
kai
Steven,
Thanks for your elp.

I use XP Pro. This is the exisiting HelloWorld program, every time I run,
it uses the same port. If I want to change port 1034 to different one, where
can I re-set the port number for existing application?

Thanks
Kai
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:Aj******** *****@TK2MSFTNG XA02.phx.gbl...
Hi Kai,

Welcome to ASPNET newsgroup.
From your description, when you try running an ASP.NET 2.0 web app in
VS.NET 2005 through filesystem server, you got the following error:

"ASP.NET Development Server faild to start listening port 1034."

From the exception info, it is caused by the random port for running
VS.NET
2005 debug server not accessible. What's the OS version of the
development
server? You can try turn off the windows firewall to see whether it is the
cause. Also, as for developing the ASP.NET 2.0 project in VS.NET 2005
through filesystem, we can manually specify a port number for the project.
Just select the ASP.NET project in VS2005 ide, and set the "use dynamic
port" property to "false" in the project setting, then we can manually
specify a unused port number. Please try using some other ports to see
whether you also get such error. If there're any other finding, please
feel
free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "kai" <ka******@earth link.net>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Subject: faild to start listening port 1034
| Lines: 21
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <tF************ ****@newsread1. news.atl.earthl ink.net>
| Date: Sun, 20 Nov 2005 22:21:13 GMT
| NNTP-Posting-Host: 66.32.86.150
| X-Complaints-To: ab***@earthlink .net
| X-Trace: newsread1.news. atl.earthlink.n et 1132525273 66.32.86.150 (Sun,
20 Nov 2005 14:21:13 PST)
| NNTP-Posting-Date: Sun, 20 Nov 2005 14:21:13 PST
| Organization: EarthLink Inc. -- http://www.EarthLink.net
| Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTFEED02.ph x.gbl!tornado.f a
stwebnet.it!tis cali!newsfeed1. ip.tiscali.net! newshub.sdsu.ed u!nx02.iad01.ne w
shosting.com!ne wshosting.com!2 07.69.154.102.M ISMATCH!elnk-atl-nf2!newsfeed.e
arthlink.net!st amper.news.atl. earthlink.net!n ewsread1.news.a tl.earthlink.ne t
POSTED!a96f5a29 !not-for-mail
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3596 67
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hi,
| I was tring to run an example (HelloWorld.asp x) 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."
|
| I cannot fix it. Please help.
|
| Thanks
| Kai
|
|
|
|
|
|
|

Nov 21 '05 #3
Thanks for your response Kai,

Since you're using XP pro, I think the windows XP sp2's firewall setting is
also a possible cause. Have you tried turn off it (if you're currently
turning on it) to see whether it helps? Also, for manually specifying port
number for ASP.NET 2.0 project(use FileSystem....) in VS.NET 2005, we can
follow the below steps:

1. Select the "WebSite" node in VS.NET 2005 IDE's Solution Explorer.

2. In the Property window, you can find there is two properties under the
"Web Developer Server" category:

"Port Number" and "Use Dynamic Port".

Set the "Use Dynamnmic Port" to false, then we can change the "Port Number"
....

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "kai" <ka******@earth link.net>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| References: <tF************ ****@newsread1. news.atl.earthl ink.net>
<Aj************ *@TK2MSFTNGXA02 .phx.gbl>
| Subject: Re: faild to start listening port 1034
| Lines: 96
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <lm************ ****@newsread2. news.atl.earthl ink.net>
| Date: Mon, 21 Nov 2005 12:48:17 GMT
| NNTP-Posting-Host: 66.32.86.150
| X-Complaints-To: ab***@earthlink .net
| X-Trace: newsread2.news. atl.earthlink.n et 1132577297 66.32.86.150 (Mon,
21 Nov 2005 04:48:17 PST)
| NNTP-Posting-Date: Mon, 21 Nov 2005 04:48:17 PST
| Organization: EarthLink Inc. -- http://www.EarthLink.net
| Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli
ne.de!newshub.s dsu.edu!elnk-nf2-pas!newsfeed.ea rthlink.net!sta mper.news.pas.
earthlink.net!s tamper.news.atl .earthlink.net! newsread2.news. atl.earthlink.n e
t.POSTED!a96f5a 29!not-for-mail
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3597 62
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Steven,
| Thanks for your elp.
|
| I use XP Pro. This is the exisiting HelloWorld program, every time I
run,
| it uses the same port. If I want to change port 1034 to different one,
where
| can I re-set the port number for existing application?
|
| Thanks
| Kai
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:Aj******** *****@TK2MSFTNG XA02.phx.gbl...
| > Hi Kai,
| >
| > Welcome to ASPNET newsgroup.
| > From your description, when you try running an ASP.NET 2.0 web app in
| > VS.NET 2005 through filesystem server, you got the following error:
| >
| > "ASP.NET Development Server faild to start listening port 1034."
| >
| > From the exception info, it is caused by the random port for running
| > VS.NET
| > 2005 debug server not accessible. What's the OS version of the
| > development
| > server? You can try turn off the windows firewall to see whether it is
the
| > cause. Also, as for developing the ASP.NET 2.0 project in VS.NET 2005
| > through filesystem, we can manually specify a port number for the
project.
| > Just select the ASP.NET project in VS2005 ide, and set the "use dynamic
| > port" property to "false" in the project setting, then we can manually
| > specify a unused port number. Please try using some other ports to see
| > whether you also get such error. If there're any other finding, please
| > feel
| > free to post here.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| > --------------------
| > | From: "kai" <ka******@earth link.net>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | Subject: faild to start listening port 1034
| > | Lines: 21
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | Message-ID: <tF************ ****@newsread1. news.atl.earthl ink.net>
| > | Date: Sun, 20 Nov 2005 22:21:13 GMT
| > | NNTP-Posting-Host: 66.32.86.150
| > | X-Complaints-To: ab***@earthlink .net
| > | X-Trace: newsread1.news. atl.earthlink.n et 1132525273 66.32.86.150
(Sun,
| > 20 Nov 2005 14:21:13 PST)
| > | NNTP-Posting-Date: Sun, 20 Nov 2005 14:21:13 PST
| > | Organization: EarthLink Inc. -- http://www.EarthLink.net
| > | Path:
| >
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTFEED02.ph x.gbl!tornado.f a
| >
stwebnet.it!tis cali!newsfeed1. ip.tiscali.net! newshub.sdsu.ed u!nx02.iad01.ne w
| >
shosting.com!ne wshosting.com!2 07.69.154.102.M ISMATCH!elnk-atl-nf2!newsfeed.e
| >
arthlink.net!st amper.news.atl. earthlink.net!n ewsread1.news.a tl.earthlink.ne t
| > POSTED!a96f5a29 !not-for-mail
| > | Xref: TK2MSFTNGXA02.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:3596 67
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > |
| > | Hi,
| > | I was tring to run an example (HelloWorld.asp x) 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."
| > |
| > | I cannot fix it. Please help.
| > |
| > | Thanks
| > | Kai
| > |
| > |
| > |
| > |
| > |
| > |
| > |
| >
|
|
|

Nov 23 '05 #4
Hi Kai,

Have you got any further progress on this issue? If there're anything else
we can help, please feel free to post here.

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| X-Tomcat-ID: 222779052
| References: <tF************ ****@newsread1. news.atl.earthl ink.net>
<Aj************ *@TK2MSFTNGXA02 .phx.gbl>
<lm************ ****@newsread2. news.atl.earthl ink.net>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online. microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Tue, 22 Nov 2005 11:10:59 GMT
| Subject: Re: faild to start listening port 1034
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| Message-ID: <9N************ **@TK2MSFTNGXA0 2.phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Lines: 143
| Path: TK2MSFTNGXA02.p hx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3600 65
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Thanks for your response Kai,
|
| Since you're using XP pro, I think the windows XP sp2's firewall setting
is
| also a possible cause. Have you tried turn off it (if you're currently
| turning on it) to see whether it helps? Also, for manually specifying
port
| number for ASP.NET 2.0 project(use FileSystem....) in VS.NET 2005, we can
| follow the below steps:
|
| 1. Select the "WebSite" node in VS.NET 2005 IDE's Solution Explorer.
|
| 2. In the Property window, you can find there is two properties under
the
| "Web Developer Server" category:
|
| "Port Number" and "Use Dynamic Port".
|
| Set the "Use Dynamnmic Port" to false, then we can change the "Port
Number"
| ...
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
|
|
| --------------------
| | From: "kai" <ka******@earth link.net>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | References: <tF************ ****@newsread1. news.atl.earthl ink.net>
| <Aj************ *@TK2MSFTNGXA02 .phx.gbl>
| | Subject: Re: faild to start listening port 1034
| | Lines: 96
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| | X-RFC2646: Format=Flowed; Original
| | Message-ID: <lm************ ****@newsread2. news.atl.earthl ink.net>
| | Date: Mon, 21 Nov 2005 12:48:17 GMT
| | NNTP-Posting-Host: 66.32.86.150
| | X-Complaints-To: ab***@earthlink .net
| | X-Trace: newsread2.news. atl.earthlink.n et 1132577297 66.32.86.150 (Mon,
| 21 Nov 2005 04:48:17 PST)
| | NNTP-Posting-Date: Mon, 21 Nov 2005 04:48:17 PST
| | Organization: EarthLink Inc. -- http://www.EarthLink.net
| | Path:
|
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli
|
ne.de!newshub.s dsu.edu!elnk-nf2-pas!newsfeed.ea rthlink.net!sta mper.news.pas.
|
earthlink.net!s tamper.news.atl .earthlink.net! newsread2.news. atl.earthlink.n e
| t.POSTED!a96f5a 29!not-for-mail
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3597 62
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Steven,
| | Thanks for your elp.
| |
| | I use XP Pro. This is the exisiting HelloWorld program, every time I
| run,
| | it uses the same port. If I want to change port 1034 to different one,
| where
| | can I re-set the port number for existing application?
| |
| | Thanks
| | Kai
| | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| | news:Aj******** *****@TK2MSFTNG XA02.phx.gbl...
| | > Hi Kai,
| | >
| | > Welcome to ASPNET newsgroup.
| | > From your description, when you try running an ASP.NET 2.0 web app in
| | > VS.NET 2005 through filesystem server, you got the following error:
| | >
| | > "ASP.NET Development Server faild to start listening port 1034."
| | >
| | > From the exception info, it is caused by the random port for running
| | > VS.NET
| | > 2005 debug server not accessible. What's the OS version of the
| | > development
| | > server? You can try turn off the windows firewall to see whether it
is
| the
| | > cause. Also, as for developing the ASP.NET 2.0 project in VS.NET 2005
| | > through filesystem, we can manually specify a port number for the
| project.
| | > Just select the ASP.NET project in VS2005 ide, and set the "use
dynamic
| | > port" property to "false" in the project setting, then we can manually
| | > specify a unused port number. Please try using some other ports to see
| | > whether you also get such error. If there're any other finding,
please
| | > feel
| | > free to post here.
| | >
| | > Thanks,
| | >
| | > Steven Cheng
| | > Microsoft Online Support
| | >
| | > Get Secure! www.microsoft.com/security
| | > (This posting is provided "AS IS", with no warranties, and confers no
| | > rights.)
| | >
| | > --------------------
| | > | From: "kai" <ka******@earth link.net>
| | > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | > | Subject: faild to start listening port 1034
| | > | Lines: 21
| | > | X-Priority: 3
| | > | X-MSMail-Priority: Normal
| | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| | > | X-RFC2646: Format=Flowed; Original
| | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| | > | Message-ID: <tF************ ****@newsread1. news.atl.earthl ink.net>
| | > | Date: Sun, 20 Nov 2005 22:21:13 GMT
| | > | NNTP-Posting-Host: 66.32.86.150
| | > | X-Complaints-To: ab***@earthlink .net
| | > | X-Trace: newsread1.news. atl.earthlink.n et 1132525273 66.32.86.150
| (Sun,
| | > 20 Nov 2005 14:21:13 PST)
| | > | NNTP-Posting-Date: Sun, 20 Nov 2005 14:21:13 PST
| | > | Organization: EarthLink Inc. -- http://www.EarthLink.net
| | > | Path:
| | >
|
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTFEED02.ph x.gbl!tornado.f a
| | >
|
stwebnet.it!tis cali!newsfeed1. ip.tiscali.net! newshub.sdsu.ed u!nx02.iad01.ne w
| | >
|
shosting.com!ne wshosting.com!2 07.69.154.102.M ISMATCH!elnk-atl-nf2!newsfeed.e
| | >
|
arthlink.net!st amper.news.atl. earthlink.net!n ewsread1.news.a tl.earthlink.ne t
| | > POSTED!a96f5a29 !not-for-mail
| | > | Xref: TK2MSFTNGXA02.p hx.gbl
| | > microsoft.publi c.dotnet.framew ork.aspnet:3596 67
| | > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | > |
| | > | Hi,
| | > | I was tring to run an example (HelloWorld.asp x) 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."
| | > |
| | > | I cannot fix it. Please help.
| | > |
| | > | Thanks
| | > | Kai
| | > |
| | > |
| | > |
| | > |
| | > |
| | > |
| | > |
| | >
| |
| |
| |
|
|

Nov 24 '05 #5
kai
Hi, Steven
I turned off firewall, it did not work. After I reboot my computer, it
works. Than I turned on the fire wall again, it is working.
Thank you very much for your expertise. It really helps me a lot.

Kai

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:Nu******** ********@TK2MSF TNGXA02.phx.gbl ...
Hi Kai,

Have you got any further progress on this issue? If there're anything else
we can help, please feel free to post here.

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| X-Tomcat-ID: 222779052
| References: <tF************ ****@newsread1. news.atl.earthl ink.net>
<Aj************ *@TK2MSFTNGXA02 .phx.gbl>
<lm************ ****@newsread2. news.atl.earthl ink.net>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online. microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Tue, 22 Nov 2005 11:10:59 GMT
| Subject: Re: faild to start listening port 1034
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| Message-ID: <9N************ **@TK2MSFTNGXA0 2.phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Lines: 143
| Path: TK2MSFTNGXA02.p hx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3600 65
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Thanks for your response Kai,
|
| Since you're using XP pro, I think the windows XP sp2's firewall setting
is
| also a possible cause. Have you tried turn off it (if you're currently
| turning on it) to see whether it helps? Also, for manually specifying
port
| number for ASP.NET 2.0 project(use FileSystem....) in VS.NET 2005, we
can
| follow the below steps:
|
| 1. Select the "WebSite" node in VS.NET 2005 IDE's Solution Explorer.
|
| 2. In the Property window, you can find there is two properties under
the
| "Web Developer Server" category:
|
| "Port Number" and "Use Dynamic Port".
|
| Set the "Use Dynamnmic Port" to false, then we can change the "Port
Number"
| ...
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
|
|
| --------------------
| | From: "kai" <ka******@earth link.net>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | References: <tF************ ****@newsread1. news.atl.earthl ink.net>
| <Aj************ *@TK2MSFTNGXA02 .phx.gbl>
| | Subject: Re: faild to start listening port 1034
| | Lines: 96
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| | X-RFC2646: Format=Flowed; Original
| | Message-ID: <lm************ ****@newsread2. news.atl.earthl ink.net>
| | Date: Mon, 21 Nov 2005 12:48:17 GMT
| | NNTP-Posting-Host: 66.32.86.150
| | X-Complaints-To: ab***@earthlink .net
| | X-Trace: newsread2.news. atl.earthlink.n et 1132577297 66.32.86.150
(Mon,
| 21 Nov 2005 04:48:17 PST)
| | NNTP-Posting-Date: Mon, 21 Nov 2005 04:48:17 PST
| | Organization: EarthLink Inc. -- http://www.EarthLink.net
| | Path:
|
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli
|
ne.de!newshub.s dsu.edu!elnk-nf2-pas!newsfeed.ea rthlink.net!sta mper.news.pas.
|
earthlink.net!s tamper.news.atl .earthlink.net! newsread2.news. atl.earthlink.n e
| t.POSTED!a96f5a 29!not-for-mail
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3597 62
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Steven,
| | Thanks for your elp.
| |
| | I use XP Pro. This is the exisiting HelloWorld program, every time I
| run,
| | it uses the same port. If I want to change port 1034 to different one,
| where
| | can I re-set the port number for existing application?
| |
| | Thanks
| | Kai
| | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| | news:Aj******** *****@TK2MSFTNG XA02.phx.gbl...
| | > Hi Kai,
| | >
| | > Welcome to ASPNET newsgroup.
| | > From your description, when you try running an ASP.NET 2.0 web app
in
| | > VS.NET 2005 through filesystem server, you got the following error:
| | >
| | > "ASP.NET Development Server faild to start listening port 1034."
| | >
| | > From the exception info, it is caused by the random port for running
| | > VS.NET
| | > 2005 debug server not accessible. What's the OS version of the
| | > development
| | > server? You can try turn off the windows firewall to see whether it
is
| the
| | > cause. Also, as for developing the ASP.NET 2.0 project in VS.NET
2005
| | > through filesystem, we can manually specify a port number for the
| project.
| | > Just select the ASP.NET project in VS2005 ide, and set the "use
dynamic
| | > port" property to "false" in the project setting, then we can
manually
| | > specify a unused port number. Please try using some other ports to
see
| | > whether you also get such error. If there're any other finding,
please
| | > feel
| | > free to post here.
| | >
| | > Thanks,
| | >
| | > Steven Cheng
| | > Microsoft Online Support
| | >
| | > Get Secure! www.microsoft.com/security
| | > (This posting is provided "AS IS", with no warranties, and confers
no
| | > rights.)
| | >
| | > --------------------
| | > | From: "kai" <ka******@earth link.net>
| | > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | > | Subject: faild to start listening port 1034
| | > | Lines: 21
| | > | X-Priority: 3
| | > | X-MSMail-Priority: Normal
| | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| | > | X-RFC2646: Format=Flowed; Original
| | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| | > | Message-ID: <tF************ ****@newsread1. news.atl.earthl ink.net>
| | > | Date: Sun, 20 Nov 2005 22:21:13 GMT
| | > | NNTP-Posting-Host: 66.32.86.150
| | > | X-Complaints-To: ab***@earthlink .net
| | > | X-Trace: newsread1.news. atl.earthlink.n et 1132525273 66.32.86.150
| (Sun,
| | > 20 Nov 2005 14:21:13 PST)
| | > | NNTP-Posting-Date: Sun, 20 Nov 2005 14:21:13 PST
| | > | Organization: EarthLink Inc. -- http://www.EarthLink.net
| | > | Path:
| | >
|
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTFEED02.ph x.gbl!tornado.f a
| | >
|
stwebnet.it!tis cali!newsfeed1. ip.tiscali.net! newshub.sdsu.ed u!nx02.iad01.ne w
| | >
|
shosting.com!ne wshosting.com!2 07.69.154.102.M ISMATCH!elnk-atl-nf2!newsfeed.e
| | >
|
arthlink.net!st amper.news.atl. earthlink.net!n ewsread1.news.a tl.earthlink.ne t
| | > POSTED!a96f5a29 !not-for-mail
| | > | Xref: TK2MSFTNGXA02.p hx.gbl
| | > microsoft.publi c.dotnet.framew ork.aspnet:3596 67
| | > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | > |
| | > | Hi,
| | > | I was tring to run an example (HelloWorld.asp x) 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."
| | > |
| | > | I cannot fix it. Please help.
| | > |
| | > | Thanks
| | > | Kai
| | > |
| | > |
| | > |
| | > |
| | > |
| | > |
| | > |
| | >
| |
| |
| |
|
|

Nov 25 '05 #6
Thanks for your followup Kai,

Glad that our suggestions are of assistance. Also, as for the firewall
setting, it may require your rebooting to make effect. Also, you can choose
to add an exception (tcp/udp port) for your debugging server's listening
port instead of turn off the whole firewall for secuirty consideration.

Good luck!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "kai" <ka******@earth link.net>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| References: <tF************ ****@newsread1. news.atl.earthl ink.net>
<Aj************ *@TK2MSFTNGXA02 .phx.gbl>
<lm************ ****@newsread2. news.atl.earthl ink.net>
<9N************ **@TK2MSFTNGXA0 2.phx.gbl>
<Nu************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: faild to start listening port 1034
| Lines: 239
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <Zr************ ****@newsread3. news.atl.earthl ink.net>
| Date: Fri, 25 Nov 2005 19:18:17 GMT
| NNTP-Posting-Host: 66.32.86.150
| X-Complaints-To: ab***@earthlink .net
| X-Trace: newsread3.news. atl.earthlink.n et 1132946297 66.32.86.150 (Fri,
25 Nov 2005 11:18:17 PST)
| NNTP-Posting-Date: Fri, 25 Nov 2005 11:18:17 PST
| Organization: EarthLink Inc. -- http://www.EarthLink.net
| Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli
ne.de!border2.n ntp.dca.giganew s.com!nntp.giga news.com!elnk-atl-nf1!newsfeed.
earthlink.net!s tamper.news.atl .earthlink.net! newsread3.news. atl.earthlink.n e
t.POSTED!a96f5a 29!not-for-mail
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3609 76
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hi, Steven
| I turned off firewall, it did not work. After I reboot my computer, it
| works. Than I turned on the fire wall again, it is working.
| Thank you very much for your expertise. It really helps me a lot.
|
| Kai
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:Nu******** ********@TK2MSF TNGXA02.phx.gbl ...
| > Hi Kai,
| >
| > Have you got any further progress on this issue? If there're anything
else
| > we can help, please feel free to post here.
| >
| > Thanks & Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| > --------------------
| > | X-Tomcat-ID: 222779052
| > | References: <tF************ ****@newsread1. news.atl.earthl ink.net>
| > <Aj************ *@TK2MSFTNGXA02 .phx.gbl>
| > <lm************ ****@newsread2. news.atl.earthl ink.net>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain
| > | Content-Transfer-Encoding: 7bit
| > | From: st*****@online. microsoft.com (Steven Cheng[MSFT])
| > | Organization: Microsoft
| > | Date: Tue, 22 Nov 2005 11:10:59 GMT
| > | Subject: Re: faild to start listening port 1034
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > | Message-ID: <9N************ **@TK2MSFTNGXA0 2.phx.gbl>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | Lines: 143
| > | Path: TK2MSFTNGXA02.p hx.gbl
| > | Xref: TK2MSFTNGXA02.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:3600 65
| > | NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
| > |
| > | Thanks for your response Kai,
| > |
| > | Since you're using XP pro, I think the windows XP sp2's firewall
setting
| > is
| > | also a possible cause. Have you tried turn off it (if you're currently
| > | turning on it) to see whether it helps? Also, for manually specifying
| > port
| > | number for ASP.NET 2.0 project(use FileSystem....) in VS.NET 2005, we
| > can
| > | follow the below steps:
| > |
| > | 1. Select the "WebSite" node in VS.NET 2005 IDE's Solution Explorer.
| > |
| > | 2. In the Property window, you can find there is two properties under
| > the
| > | "Web Developer Server" category:
| > |
| > | "Port Number" and "Use Dynamic Port".
| > |
| > | Set the "Use Dynamnmic Port" to false, then we can change the "Port
| > Number"
| > | ...
| > |
| > | Thanks,
| > |
| > | Steven Cheng
| > | Microsoft Online Support
| > |
| > | Get Secure! www.microsoft.com/security
| > | (This posting is provided "AS IS", with no warranties, and confers no
| > | rights.)
| > |
| > |
| > |
| > |
| > |
| > | --------------------
| > | | From: "kai" <ka******@earth link.net>
| > | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | | References: <tF************ ****@newsread1. news.atl.earthl ink.net>
| > | <Aj************ *@TK2MSFTNGXA02 .phx.gbl>
| > | | Subject: Re: faild to start listening port 1034
| > | | Lines: 96
| > | | X-Priority: 3
| > | | X-MSMail-Priority: Normal
| > | | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | | X-RFC2646: Format=Flowed; Original
| > | | Message-ID: <lm************ ****@newsread2. news.atl.earthl ink.net>
| > | | Date: Mon, 21 Nov 2005 12:48:17 GMT
| > | | NNTP-Posting-Host: 66.32.86.150
| > | | X-Complaints-To: ab***@earthlink .net
| > | | X-Trace: newsread2.news. atl.earthlink.n et 1132577297 66.32.86.150
| > (Mon,
| > | 21 Nov 2005 04:48:17 PST)
| > | | NNTP-Posting-Date: Mon, 21 Nov 2005 04:48:17 PST
| > | | Organization: EarthLink Inc. -- http://www.EarthLink.net
| > | | Path:
| > |
| >
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli
| > |
| >
ne.de!newshub.s dsu.edu!elnk-nf2-pas!newsfeed.ea rthlink.net!sta mper.news.pas.
| > |
| >
earthlink.net!s tamper.news.atl .earthlink.net! newsread2.news. atl.earthlink.n e
| > | t.POSTED!a96f5a 29!not-for-mail
| > | | Xref: TK2MSFTNGXA02.p hx.gbl
| > | microsoft.publi c.dotnet.framew ork.aspnet:3597 62
| > | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > | |
| > | | Steven,
| > | | Thanks for your elp.
| > | |
| > | | I use XP Pro. This is the exisiting HelloWorld program, every
time I
| > | run,
| > | | it uses the same port. If I want to change port 1034 to different
one,
| > | where
| > | | can I re-set the port number for existing application?
| > | |
| > | | Thanks
| > | | Kai
| > | | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| > | | news:Aj******** *****@TK2MSFTNG XA02.phx.gbl...
| > | | > Hi Kai,
| > | | >
| > | | > Welcome to ASPNET newsgroup.
| > | | > From your description, when you try running an ASP.NET 2.0 web
app
| > in
| > | | > VS.NET 2005 through filesystem server, you got the following
error:
| > | | >
| > | | > "ASP.NET Development Server faild to start listening port 1034."
| > | | >
| > | | > From the exception info, it is caused by the random port for
running
| > | | > VS.NET
| > | | > 2005 debug server not accessible. What's the OS version of the
| > | | > development
| > | | > server? You can try turn off the windows firewall to see whether
it
| > is
| > | the
| > | | > cause. Also, as for developing the ASP.NET 2.0 project in VS.NET
| > 2005
| > | | > through filesystem, we can manually specify a port number for the
| > | project.
| > | | > Just select the ASP.NET project in VS2005 ide, and set the "use
| > dynamic
| > | | > port" property to "false" in the project setting, then we can
| > manually
| > | | > specify a unused port number. Please try using some other ports
to
| > see
| > | | > whether you also get such error. If there're any other finding,
| > please
| > | | > feel
| > | | > free to post here.
| > | | >
| > | | > Thanks,
| > | | >
| > | | > Steven Cheng
| > | | > Microsoft Online Support
| > | | >
| > | | > Get Secure! www.microsoft.com/security
| > | | > (This posting is provided "AS IS", with no warranties, and
confers
| > no
| > | | > rights.)
| > | | >
| > | | > --------------------
| > | | > | From: "kai" <ka******@earth link.net>
| > | | > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | | > | Subject: faild to start listening port 1034
| > | | > | Lines: 21
| > | | > | X-Priority: 3
| > | | > | X-MSMail-Priority: Normal
| > | | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | | > | X-RFC2646: Format=Flowed; Original
| > | | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | | > | Message-ID:
<tF************ ****@newsread1. news.atl.earthl ink.net>
| > | | > | Date: Sun, 20 Nov 2005 22:21:13 GMT
| > | | > | NNTP-Posting-Host: 66.32.86.150
| > | | > | X-Complaints-To: ab***@earthlink .net
| > | | > | X-Trace: newsread1.news. atl.earthlink.n et 1132525273
66.32.86.150
| > | (Sun,
| > | | > 20 Nov 2005 14:21:13 PST)
| > | | > | NNTP-Posting-Date: Sun, 20 Nov 2005 14:21:13 PST
| > | | > | Organization: EarthLink Inc. -- http://www.EarthLink.net
| > | | > | Path:
| > | | >
| > |
| >
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTFEED02.ph x.gbl!tornado.f a
| > | | >
| > |
| >
stwebnet.it!tis cali!newsfeed1. ip.tiscali.net! newshub.sdsu.ed u!nx02.iad01.ne w
| > | | >
| > |
| >
shosting.com!ne wshosting.com!2 07.69.154.102.M ISMATCH!elnk-atl-nf2!newsfeed.e
| > | | >
| > |
| >
arthlink.net!st amper.news.atl. earthlink.net!n ewsread1.news.a tl.earthlink.ne t
| > | | > POSTED!a96f5a29 !not-for-mail
| > | | > | Xref: TK2MSFTNGXA02.p hx.gbl
| > | | > microsoft.publi c.dotnet.framew ork.aspnet:3596 67
| > | | > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > | | > |
| > | | > | Hi,
| > | | > | I was tring to run an example (HelloWorld.asp x) 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."
| > | | > |
| > | | > | I cannot fix it. Please help.
| > | | > |
| > | | > | Thanks
| > | | > | Kai
| > | | > |
| > | | > |
| > | | > |
| > | | > |
| > | | > |
| > | | > |
| > | | > |
| > | | >
| > | |
| > | |
| > | |
| > |
| > |
| >
|
|
|

Nov 28 '05 #7

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

Similar topics

3
1992
by: Laszlo Csabi | last post by:
Hi guys, What I would like to achieve is create a client-server messenger application. The problem I run into is : I have created a listener socket on the client and connect to the remote server ( with a another socket ) to login also tell the server what IP and PORT address the client is listening on, but the IP address an internal IP...
5
9948
by: lazydb2dba | last post by:
I would like to know if there is any reason that a connection port is not listening. I've found the following message in my db2diag.log DIA3003E Error encountered in "TCPIP" protocol support. Return code from "sqleGetAgent" was "-6036". Other findings are: 1. The result of "netstat -an|grep LISTEN" doesn't show the connection
3
2367
by: ssantamariagarcia | last post by:
I am trying to program a server in C for UNIX to get a kind of "bridge" between the clients of a port A and the clients of a port B. For that, I create 2 processes: one that listen the requests of port A clients and another for the Port B ones. In each process, when a connetion service is required, after accepting , the value of the socket...
1
1798
by: Doug Wyatt | last post by:
So I'll preface this with the fact that I'm a UNIX developer by training and have just recently gotten in to C# development on Windows. I'm basically running in to a problem whereby I suspect something to do with process groups or threads and closeOnExec semantics (to speak in POSIX terms) is causing me a problem. I've got a windows service...
2
977
by: Richard Gass | last post by:
First weird problem... The other day, out of the blue, our application reported an error saying it could not connect to the postgres db. The hostname that it reported is the name of the machine but it hasn't been used in awhile. However, it does have a valid cname entry in dns pointing to the correct host. I added the name in the...
6
2269
by: Marc | last post by:
How could I directly trigger a very simple on localhost and a known port listening server from my internet browser client? Local host means the little server would be running on the client machine, where my browser resides. Browser would be IE, O.S. Windows 2000 or XP, and it's for an intranet application. The goal of the little server on the...
5
4751
by: zxo102 | last post by:
Hi, I am doing a small project using socket server and thread in python. This is first time for me to use socket and thread things. Here is my case. I have 20 socket clients. Each client send a set of sensor data per second to a socket server. The socket server will do two things: 1. write data into a file via bsddb; 2. forward the data to...
10
8106
by: 7stud | last post by:
I'm trying to get Apache set up on my system so I can use mod_python. I installed Apache 2.2.4 according to the following instructions: http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/#comment-30704 and everything seemed to install correctly, but I can't start Apache. I typed in the following command: $ sudo...
0
4183
by: Arun21084 | last post by:
Hi, Recently I installed an application HP SIP(Service Information Portal) on a Windows 2000 server.The application comes along with an installation of Tomcat 5.0.19. Already there was an Apache 2 running on the server used by other application. Once after installation of the product(HP SIP), I tried to restart the Tomcat 5.0.19 process using...
0
7780
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8021
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, 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. ...
0
8202
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7787
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6419
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3733
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2213
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
1
1303
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1041
bsmnconsultancy
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...

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.