Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > Visual Studio 2008
|
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 8th, 2011, 06:29 AM
Authorized User
 
Join Date: Sep 2008
Posts: 54
Thanks: 8
Thanked 1 Time in 1 Post
Default How to change port in VSTS 2008? For web testing.

Hi!

For those webs that are hosted either on my computer or on my office network VSTS 2008 is working fine for automation test, but for any web that is hosted outside my office, let suppose www.google.com.pk I am having following error:


web browser:
Request failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.7:80
Response:
Request failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.7:80

here IP is correct but port is showing 80 which is 8080 not 80 set in proxy.
I searched and found this:
When you use the ASP.NET Development Server to run a file-system Web site, by default, the Web server is invoked on a randomly selected port for localhost. For example, if you are testing a page called Default.aspx, when you run the page using the built-in ASP.NET Development Server, the URL of the page might be the following:
http://localhost:3499/Default.aspx
You do have the option to control which port is used when using the built-in development server. The steps to specify the port to be used are slightly different depending on whether you are using a website project or a web application project.
To specify a port for the ASP.NET Development Server - WebSite / WebServices projects
  1. In Solution Explorer, click the name of the application.
  2. In the Properties pane, click the down-arrow beside Use dynamic ports and select False from the dropdown list.
    This will enable editing of the Port number property.
  3. In the Properties pane, click the text box beside Port number and type in a port number.
  4. Click outside of the Properties pane. This saves the property settings.
Each time you run a file-system Web site within Visual Web Developer, the ASP.NET Development Server will listen on the specified port.
but down arrow has nothing like Use dynamic port etc and there is no information regarding port.


Thanks in advance
__________________
How to do programming?





Similar Threads
Thread Thread Starter Forum Replies Last Post
VSTS 2005 on Vista Bus. x64 chriswebb18 Visual Studio 2005 0 April 15th, 2010 05:43 PM
Testing web pages with vb? Examples? Raycaster Beginning VB 6 1 April 23rd, 2008 10:54 PM
web application testing rajanikrishna Classic ASP Databases 0 April 6th, 2005 11:21 PM
Can't create ASP.Net web application due to port c Fero VS.NET 2002/2003 5 June 21st, 2004 04:52 PM
Testing your web server vagwale Classic ASP Basics 2 August 5th, 2003 10:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.