Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,

In my webServer(IIS7.0), i have configured two APPLICATIONS 'X' and 'Y'.

I have setup my Network Connections by Configure both Local IP and Public IP on the same machine.
like My LAN Properties-->TCP/IP (Properties)-->Advanced -->Added my Public IP (with Default Gateway)

Now I can access both Local IP and Public IP on the same Network and works fine.
Problem is, i cannot access my application from an External network through public IP.

If i configure Public IP alone(without local IP), its works fine on both local Network and External Network.

But i need both Local IP(for performance Issue) and Public IP Configured on same machine. How can i do that??
Please help me out
Posted
Updated 3-Feb-12 4:07am
v2

1 solution

One way to achieve this is to set up a port redirection on your router.

For example if you want to be able to use Remote desktop to your computer from the internet you would need to set up a port forwarding like;

Service Name: RDP [you can call this anything you want, it is just a name for the port table in the router]
Protocol: TCP
Wan IP: [public address here]
Public Port: 3389 [standard port used by RDP, or whatever you have configured it for]
Private IP: [private address here]
Private Port: 3389
 
Share this answer
 
Comments
J.Karthick 3-Feb-12 5:59am    
Thanks for your reply...

Is there any other way to acheive this?
or
Is it the only way??

Actually I can't access the router :(
DaveAuld 3-Feb-12 6:54am    
I am confused by the statement in your original question that states it works fine if you configure the public IP only. You must have port redirection already setup on the router to pass traffic on port 80 through to you? something doesn't make sense.
J.Karthick 3-Feb-12 10:08am    
sorry for the Confusion...
Now i have updated my question...Please check it out.
Hope you understand my Question now

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