cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1442
Views
0
Helpful
1
Replies

Application cannot access public IP, which is natted to its local IP

The application is running on the server with public IP 51.52.53.226

The example of the URL being accessed is ‘http://51.52.53.226/FT/

This URL is working fine when accessed over the internet over now.  However when the above given URL is being accessed from the application that is running on the server IP 51.52.53.229, it is not working and we are receiving a “Request Time Out”.

There has been no change in the applications. Clearly seems to be an issue in accessing IP 51.52.53.226 from IP 51.52.53.229.

**************************************************************************************************

access-list outside_in extended permit tcp any host 51.52.53.226 object-group SERVER_53.226

object-group service SERVER_53.229 tcp

port-object eq 7501

port-object eq www

static (inside,outside) tcp 51.52.53.226 www 192.168.1.166 8080 netmask 255.255.255.255

static (inside,outside) tcp 51.52.53.226 1044 192.168.1.166 ssh netmask 255.255.255.255

access-list outside_in extended permit tcp any host 51.52.53.229 object-group SERVER_53.229

static (inside,outside) tcp 51.52.53.229 www access-list nat_1.166

access-list nat_1.166 extended permit tcp host 192.168.1.166 eq 9090 any

object-group service SERVER_53.226 tcp

port-object eq 2775

port-object eq 2776

port-object eq 5775

port-object eq 5776

port-object eq www

port-object eq 1044

port-object eq https

same-security-traffic permit inter-interface

Thanks in advance!

Shiva

1 Reply 1

Jennifer Halim
Cisco Employee
Cisco Employee

You can't access the host via its public ip address, you would need to access it via its private IP on the correct port.

It is listening on port 8080, so you would need to access it from internally as follows:

http://192.168.1.166:8080

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: