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

faild to start listening port 1034

kai
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."

I cannot fix it. Please help.

Thanks
Kai


Nov 20 '05 #1
6 3083
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******@earthlink.net>
| Newsgroups: microsoft.public.dotnet.framework.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.earthlink.n et>
| 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.net 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.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fa
stwebnet.it!tiscali!newsfeed1.ip.tiscali.net!newsh ub.sdsu.edu!nx02.iad01.new
shosting.com!newshosting.com!207.69.154.102.MISMAT CH!elnk-atl-nf2!newsfeed.e
arthlink.net!stamper.news.atl.earthlink.net!newsre ad1.news.atl.earthlink.net
POSTED!a96f5a29!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:359667
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| 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."
|
| 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*************@TK2MSFTNGXA02.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******@earthlink.net>
| Newsgroups: microsoft.public.dotnet.framework.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.earthlink.n et>
| 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.net 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.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fa
stwebnet.it!tiscali!newsfeed1.ip.tiscali.net!newsh ub.sdsu.edu!nx02.iad01.new
shosting.com!newshosting.com!207.69.154.102.MISMAT CH!elnk-atl-nf2!newsfeed.e
arthlink.net!stamper.news.atl.earthlink.net!newsre ad1.news.atl.earthlink.net
POSTED!a96f5a29!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:359667
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| 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."
|
| 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******@earthlink.net>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| References: <tF****************@newsread1.news.atl.earthlink.n et>
<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.earthlink.n et>
| 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.net 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.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.
earthlink.net!stamper.news.atl.earthlink.net!newsr ead2.news.atl.earthlink.ne
t.POSTED!a96f5a29!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:359762
| X-Tomcat-NG: microsoft.public.dotnet.framework.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*************@TK2MSFTNGXA02.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******@earthlink.net>
| > | Newsgroups: microsoft.public.dotnet.framework.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.earthlink.n et>
| > | 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.net 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.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fa
| >
stwebnet.it!tiscali!newsfeed1.ip.tiscali.net!newsh ub.sdsu.edu!nx02.iad01.new
| >
shosting.com!newshosting.com!207.69.154.102.MISMAT CH!elnk-atl-nf2!newsfeed.e
| >
arthlink.net!stamper.news.atl.earthlink.net!newsre ad1.news.atl.earthlink.net
| > POSTED!a96f5a29!not-for-mail
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:359667
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | 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."
| > |
| > | 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.earthlink.n et>
<Aj*************@TK2MSFTNGXA02.phx.gbl>
<lm****************@newsread2.news.atl.earthlink.n et>
| 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.public.dotnet.framework.aspnet
| Message-ID: <9N**************@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 143
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:360065
| 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******@earthlink.net>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | References: <tF****************@newsread1.news.atl.earthlink.n et>
| <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.earthlink.n et>
| | 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.net 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.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
|
ne.de!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.
|
earthlink.net!stamper.news.atl.earthlink.net!newsr ead2.news.atl.earthlink.ne
| t.POSTED!a96f5a29!not-for-mail
| | Xref: TK2MSFTNGXA02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:359762
| | X-Tomcat-NG: microsoft.public.dotnet.framework.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*************@TK2MSFTNGXA02.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******@earthlink.net>
| | > | Newsgroups: microsoft.public.dotnet.framework.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.earthlink.n et>
| | > | 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.net 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.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fa
| | >
|
stwebnet.it!tiscali!newsfeed1.ip.tiscali.net!newsh ub.sdsu.edu!nx02.iad01.new
| | >
|
shosting.com!newshosting.com!207.69.154.102.MISMAT CH!elnk-atl-nf2!newsfeed.e
| | >
|
arthlink.net!stamper.news.atl.earthlink.net!newsre ad1.news.atl.earthlink.net
| | > POSTED!a96f5a29!not-for-mail
| | > | Xref: TK2MSFTNGXA02.phx.gbl
| | > microsoft.public.dotnet.framework.aspnet:359667
| | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| | > |
| | > | 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."
| | > |
| | > | 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****************@TK2MSFTNGXA02.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.earthlink.n et>
<Aj*************@TK2MSFTNGXA02.phx.gbl>
<lm****************@newsread2.news.atl.earthlink.n et>
| 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.public.dotnet.framework.aspnet
| Message-ID: <9N**************@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 143
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:360065
| 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******@earthlink.net>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | References: <tF****************@newsread1.news.atl.earthlink.n et>
| <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.earthlink.n et>
| | 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.net 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.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
|
ne.de!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.
|
earthlink.net!stamper.news.atl.earthlink.net!newsr ead2.news.atl.earthlink.ne
| t.POSTED!a96f5a29!not-for-mail
| | Xref: TK2MSFTNGXA02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:359762
| | X-Tomcat-NG: microsoft.public.dotnet.framework.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*************@TK2MSFTNGXA02.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******@earthlink.net>
| | > | Newsgroups: microsoft.public.dotnet.framework.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.earthlink.n et>
| | > | 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.net 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.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fa
| | >
|
stwebnet.it!tiscali!newsfeed1.ip.tiscali.net!newsh ub.sdsu.edu!nx02.iad01.new
| | >
|
shosting.com!newshosting.com!207.69.154.102.MISMAT CH!elnk-atl-nf2!newsfeed.e
| | >
|
arthlink.net!stamper.news.atl.earthlink.net!newsre ad1.news.atl.earthlink.net
| | > POSTED!a96f5a29!not-for-mail
| | > | Xref: TK2MSFTNGXA02.phx.gbl
| | > microsoft.public.dotnet.framework.aspnet:359667
| | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| | > |
| | > | 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."
| | > |
| | > | 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******@earthlink.net>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| References: <tF****************@newsread1.news.atl.earthlink.n et>
<Aj*************@TK2MSFTNGXA02.phx.gbl>
<lm****************@newsread2.news.atl.earthlink.n et>
<9N**************@TK2MSFTNGXA02.phx.gbl>
<Nu**************@TK2MSFTNGXA02.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.earthlink.n et>
| 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.net 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.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!nntp.giganews. com!elnk-atl-nf1!newsfeed.
earthlink.net!stamper.news.atl.earthlink.net!newsr ead3.news.atl.earthlink.ne
t.POSTED!a96f5a29!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:360976
| X-Tomcat-NG: microsoft.public.dotnet.framework.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****************@TK2MSFTNGXA02.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.earthlink.n et>
| > <Aj*************@TK2MSFTNGXA02.phx.gbl>
| > <lm****************@newsread2.news.atl.earthlink.n et>
| > | 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.public.dotnet.framework.aspnet
| > | Message-ID: <9N**************@TK2MSFTNGXA02.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | Lines: 143
| > | Path: TK2MSFTNGXA02.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:360065
| > | 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******@earthlink.net>
| > | | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | | References: <tF****************@newsread1.news.atl.earthlink.n et>
| > | <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.earthlink.n et>
| > | | 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.net 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.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
| > |
| >
ne.de!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.
| > |
| >
earthlink.net!stamper.news.atl.earthlink.net!newsr ead2.news.atl.earthlink.ne
| > | t.POSTED!a96f5a29!not-for-mail
| > | | Xref: TK2MSFTNGXA02.phx.gbl
| > | microsoft.public.dotnet.framework.aspnet:359762
| > | | X-Tomcat-NG: microsoft.public.dotnet.framework.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*************@TK2MSFTNGXA02.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******@earthlink.net>
| > | | > | Newsgroups: microsoft.public.dotnet.framework.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.earthlink.n et>
| > | | > | 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.net 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.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TFEED02.phx.gbl!tornado.fa
| > | | >
| > |
| >
stwebnet.it!tiscali!newsfeed1.ip.tiscali.net!newsh ub.sdsu.edu!nx02.iad01.new
| > | | >
| > |
| >
shosting.com!newshosting.com!207.69.154.102.MISMAT CH!elnk-atl-nf2!newsfeed.e
| > | | >
| > |
| >
arthlink.net!stamper.news.atl.earthlink.net!newsre ad1.news.atl.earthlink.net
| > | | > POSTED!a96f5a29!not-for-mail
| > | | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | | > microsoft.public.dotnet.framework.aspnet:359667
| > | | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | | > |
| > | | > | 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."
| > | | > |
| > | | > | 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
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...
5
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....
3
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...
1
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...
2
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...
6
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,...
5
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...
10
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: ...
0
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...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.