ASP.net 2.0

R

Rick

Hi guys!!!

How can i know the port number asp.net is running on??
it's because windows firewall blocks all incoming requests, and i need to
unblock the port (i tried with netstat -a but it doesn´t says what is
asp.net's port just listen local ports but without names)

Thanks!!!
 
T

tdavisjr

asp.net runs on whatever port your IIS web server is running on. In
most cases, if you are using IIS then its port 80. Or, if you are
using the built-in web server that VS 2005 gives you, then the port
number changes each time the web server is started.
 
R

Rick

mmm

but why, if i have the firewall activated asp.net it doesn't works?? it says
"Host unreachable"

and if i turn the firewall off Asp.net works, and my port 80 is open in my
firewall config ?

=S
 
J

Joshua Flanagan

If you use the built-in VS2005 web server, click on your project in the
Solution Explorer, and look in the Properties window. Change "Use
dynamic ports" to False. Then set "Port Number" to whatever you want it
to be (ideally 80, 81, or higher than 1024).

Of course, I don't think the built-in web server will serve remote
requests by design, so opening the firewall wont help (unless the
firewall is preventing you from working locally).

Joshua Flanagan
http://flimflan.com/blog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top