Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What port # to use for a web site
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01264032
Message ID:
01264247
Views:
11
>>>>Some days ago I installed my ASP.NET application on a customer's web server. Everything went well. But when I was setting a web site I had to choose a port number (default was 80 and it was no go). So I assigned port 900 for one application and 901 for another (I installed two web sites and two applications). It worked. But I simply guessed the numbers 900 and 901. What are the right way of assigning port numbers for an intranet (note, not Internet) sites?
>>>>
>>>>
>>>>Thank you in advance for any suggestions.
>>>
>
>I'm not quite sure why you're mapping ports? Is there something special you're trying to accomplish? You can run multiple web apps. on the same port using IIS and host header mapping. If you don't have a "real" dns name (eg. you're using an IP address), you can install each app into it's own virtual directory. The url then becomes something like http://ipaddress/virtualdir/default.aspx
>
>The other thing you can do (if, for example, you have an intranet site and a public website for the same domain name) is to just change the host portion of the name, eg. www.mycompany.com is the public site and intranet.mycompany.com is the internal site.

When I was installing the application there was no choice to create a virtual directory, only web site. So I had to assign a port number to the web site. When I used default (80) it was bombing notifying that the port is already used for something. So I set the port numbers to odd numbers 900 and 901. The network admin knew even less than I about how to set up web sites and so on. The good thing is that so far it works. But I need to understand the concepts better. I will have to read up on that.

Thank you so much for your input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform