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

Localhost:1081 - again

(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 application in IIS6.0. My asp.net 2.0
app always uses LocalHost:1081. Why does it use port 1081?
If I access my web app by using //localhost/myapp into a browser 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
3 1670
Check your IIS settings for the app.
You'll find that port 81 was set as the default port for that app.

Delete the IIS setting for the app, and recreate it
without specifying that the app should use port 81.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Tina" <Ti**********@nospamexcite.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
(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 application in IIS6.0. My asp.net 2.0 app always uses LocalHost:1081. Why
does it use port 1081?
If I access my web app by using //localhost/myapp into a browser 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
there are two types of web projects in vs, file based and iis based.
file based projects use vs builtin web server and its port number. if
you want to use iis, them when you open the website, pick iis as the
source and navigate to the site.

-- bruce (sqlwork.com)

Tina wrote:
(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 application in IIS6.0. My asp.net 2.0
app always uses LocalHost:1081. Why does it use port 1081?
If I access my web app by using //localhost/myapp into a browser 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
You will need to publish your site to your local iis to see it with
just localhost or create a new project and make it IIS not File like
Bruce said....the first idea is an extra step.
bruce barker wrote:
there are two types of web projects in vs, file based and iis based.
file based projects use vs builtin web server and its port number. if
you want to use iis, them when you open the website, pick iis as the
source and navigate to the site.

-- bruce (sqlwork.com)

Tina wrote:
(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 application in IIS6.0. My asp.net 2.0
app always uses LocalHost:1081. Why does it use port 1081?
If I access my web app by using //localhost/myapp into a browser 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

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

Similar topics

1
by: gasernag | last post by:
I just installed MySQL and phpMyAdmin in Yahoo! webhosting but when I try to create a table I get the error message: #1044-Access denied for user ****@localhost to _DBNAME_. I am sure I have a...
4
by: Tina | last post by:
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...
12
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: 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
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...

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.