Pivotal Web Services (PWS): All versions
The applications deployed to PWS may need to make outgoing connections to databases, message queues, web services and other publicly accessible resources on the Internet. This article describes what is possible for your applications.
PWS does not restrict outgoing connections from PWS. Your applications should be able to access any service or resource that is on the public Internet.
If you're seeing problem connecting to the service or resource from PWS, here are some things to check.
- Check that your service has a public IP address and not running on a private, internal IP address like 192.168.0.x. Services running on internal, private networks are not going to be routable from PWS. You'll need to expose them to a public IP address before you can connect to them from PWS.
- Make sure that your service or resource is accessible from the public Internet. Test accessing it from another location via the Internet. If possible, test accessing it from a server running on Amazon EC2. If you're not able to connect, check with your network administrator to make sure the traffic is not being blocked by a firewall or other network device.
- If you can access the resource from elsewhere on the Internet, but not on PWS check to see if there are any restrictions on the location of the incoming traffic to the service. It is common for services to perform IP address whitelisting, which restrict traffic based on the IP address from where the traffic originated. See this KB Article for more details on complying with IP whitelisting.