Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI Friends,

One problem I have been facing please have a look at below scenario

Content--I am showing 1 Web page in Iframe(Means the Parent page is content the Iframe and in that Iframe we are showing the another web page of different application)

Problem--I am able to see the page in Iframe Locally but on the IIS server,It displays
can't establish a connection to the server at localhost:247


I have made the changes in the Website property to auto assign port.But not succeeded

Please help me to solve this issue.

Thanks.
Posted
Comments
Maarten Kools 8-Jan-14 7:42am    
I assume by "IIS server" you mean it's a different machine? If so, then localhost will obviously not work. As the request will go to the client's computer, instead to the server. Otherwise, please post some code about how you're specifying the url for your iframe.

1 solution

If the iframe site is a website, you need to open the port in that website server. That server should allow you the access through your IIS machine. What this means is that iframe website server needs to trust the IIS server and add it to trusted list. Then, it should be able to open the site.
 
Share this answer
 

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