Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How to change port in VSTS 2008? For web testing
Syed Arbab Ahmed
Aug 8 2011 6:19 AM
1.8k
Reply
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
In Solution Explorer, click the name of the application.
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.
In the
Properties
pane, click the text box beside
Port number
and type in a port number.
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, please do check attachment for this.
Thanks in advance
Attachment:
port is missing.zip
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Need help, beginner in preparing .NET
How to take Report or Export of the web load testing done on VSTS 2008?