NAT port mapping to IIS

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/6/2009 2:10:25 AM
Gravatar
Total Posts 15

NAT port mapping to IIS

Hi all

I have a development server 2003 with IIS and mojoportal installed internally on one private IP address. I wanted to expose the portal to outside world with portmaping on a router via a different port. So that <publicip>:82 gets mapped to <privateip>:80. I noticed that some dynamic styles and images doesn't load this way. I guess there is something in database that give static IP to port 80. Does anybody know how that can be changed?

 

Regards

NG

10/6/2009 2:24:11 AM
Gravatar
Total Posts 550

Re: NAT port mapping to IIS

Hi ,

Please specify what doesn't load?.

We use some script that hosted  on google code  , your DNS server may not resolve google code server.

Hope Helps,

Asad

10/6/2009 3:01:44 AM
Gravatar
Total Posts 15

Re: NAT port mapping to IIS

Hi Asad

Thanks for the info. No the client is on the internet so it loads the google CDN stuff.

 

Regards

NG

10/6/2009 6:15:25 AM
Gravatar
Total Posts 18439

Re: NAT port mapping to IIS

Hi,

Try setting this to false in Web.config. If it works then put it in user.config so you don't lose the setting after upgrades.

<add key="MapAlternatePort" value="false" />

see the comments above it in Web.config to understand why it might need to be changed to false.

Hope it helps,

Joe

10/6/2009 6:16:32 AM
Gravatar
Total Posts 18439

Re: NAT port mapping to IIS

If the problem persists then you should view the source of the rendered page and find the urls that are not resolving and see if its obvious why.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.