Click here to Skip to main content
15,881,881 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dears'

I have a live website and i want to change the port from 80 to 8081

I changed it from the iis7 successfully but the problem is when the user enter the url he had to enter the port number

ex:
test.com he had to enter test.com:8081

i want when the user enter test.com the page open without type the port number
Posted

1 solution

The browsers use port 80 by default, not sure why you'd want to change this other than your isp blocking the port. If thats the case, your visitors will need to change the port or access via a link on another site with it already coded.

If you're just trying to host multiple sites, look into host headers

One other note, if you have some other need to use the port internally, your router may be able to take the request on port 80 and change it to 8081 for you....
 
Share this answer
 
v2
Comments
laith al omari 4-Jul-13 3:26am    
thanks for the answer but it doesn't work with me :) thxx anyway

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900