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

Localhost:1081

My asp.net 2.0 app always uses LocalHost:1081. Why does it use port 1081?
If I access my web app by typing in//localhost/myapp the application is
executed but does not work correctly. But if I enter //Localhost:1081/myapp
it works great.

Can someone explain this?
Thanks,
T
Jan 15 '07 #1
4 2722
Are you hosting is on IIS? or standalone built-in web-server from Visual
Studio?

If it's IIS... check the port settings in IIS Manager (inetmgr.exe)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message
news:ON**************@TK2MSFTNGP06.phx.gbl...
My asp.net 2.0 app always uses LocalHost:1081. Why does it use port 1081?
If I access my web app by typing in//localhost/myapp the application is
executed but does not work correctly. But if I enter
//Localhost:1081/myapp it works great.

Can someone explain this?
Thanks,
T

Jan 15 '07 #2
When developing in Visual Studio 2005 and browsing or debugging via Studio
it will create a Virtual Port. This allows a developer to develop without
actualy having an IIS Server runnign on port 80. You can install the IIS
server and then post the web application to it by right clicking on the
project and selecting post website.

Regards,
Brian K. Williams

"Tina" <Ti**********@nospamexcite.comwrote in message
news:ON**************@TK2MSFTNGP06.phx.gbl...
My asp.net 2.0 app always uses LocalHost:1081. Why does it use port 1081?
If I access my web app by typing in//localhost/myapp the application is
executed but does not work correctly. But if I enter
//Localhost:1081/myapp it works great.

Can someone explain this?
Thanks,
T

Jan 15 '07 #3
Brian,
I'm using Visual Studio Professional on Server 2003 and when I right click
on my project there is no "post Website" choice. There is a Publish Web
Site but that, I believe, is for deployment. I have a virtual directory
established for the application.
T

"Brian Williams" <wi*******@adelphia.netwrote in message
news:uG**************@TK2MSFTNGP04.phx.gbl...
When developing in Visual Studio 2005 and browsing or debugging via Studio
it will create a Virtual Port. This allows a developer to develop without
actualy having an IIS Server runnign on port 80. You can install the IIS
server and then post the web application to it by right clicking on the
project and selecting post website.

Regards,
Brian K. Williams

"Tina" <Ti**********@nospamexcite.comwrote in message
news:ON**************@TK2MSFTNGP06.phx.gbl...
>My asp.net 2.0 app always uses LocalHost:1081. Why does it use port
1081? If I access my web app by typing in//localhost/myapp the
application is executed but does not work correctly. But if I enter
//Localhost:1081/myapp it works great.

Can someone explain this?
Thanks,
T


Jan 15 '07 #4
I'm sorry I didn't have my Studio Open, it is Publish Web Site. When you are
ready to publish your website, you can simply enter your URL into the Target
Location. You could use XCopy, but Publish will give you additional options.
I haven't ran Studio 2003 for so long, I'm not sure if it uses a Virtual
Port like Studio 2005.

Is it possible that someone changed your TCP Port under Web Site tab on IIS.
This is usually done when port 80 is not available. I ran a website under
port 2004 when my cable modem provider blocked incoming requests to port 80.

Regards,
Brian K. Williams

"Tina" <Ti**********@nospamexcite.comwrote in message
news:uN**************@TK2MSFTNGP02.phx.gbl...
Brian,
I'm using Visual Studio Professional on Server 2003 and when I right click
on my project there is no "post Website" choice. There is a Publish Web
Site but that, I believe, is for deployment. I have a virtual directory
established for the application.
T

"Brian Williams" <wi*******@adelphia.netwrote in message
news:uG**************@TK2MSFTNGP04.phx.gbl...
>When developing in Visual Studio 2005 and browsing or debugging via
Studio it will create a Virtual Port. This allows a developer to develop
without actualy having an IIS Server runnign on port 80. You can install
the IIS server and then post the web application to it by right clicking
on the project and selecting post website.

Regards,
Brian K. Williams

"Tina" <Ti**********@nospamexcite.comwrote in message
news:ON**************@TK2MSFTNGP06.phx.gbl...
>>My asp.net 2.0 app always uses LocalHost:1081. Why does it use port
1081? If I access my web app by typing in//localhost/myapp the
application is executed but does not work correctly. But if I enter
//Localhost:1081/myapp it works great.

Can someone explain this?
Thanks,
T



Jan 16 '07 #5

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

Similar topics

3
by: Tina | last post by:
(reposting this issue because I did not supply enough information on the orginal post) I'm using Visual Studio Professional 2005 on Server 2003 and I have a virtual directory established for the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...

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.