$ dig +short vpc-test-net-tools.us-w2.cloudhub.io us-w2.cloudhub.io. 54.69.148.89 34.218.197.120 52.40.131.60 $ nc -z vpc-test-net-tools.us-w2.cloudhub.io 80 Connection to vpc-test-net-tools.us-w2.cloudhub.io port 80 [tcp/http] succeeded! $ nc -z vpc-test-net-tools.us-w2.cloudhub.io 443 Connection to vpc-test-net-tools.us-w2.cloudhub.io port 443 [tcp/https] succeeded!
b) Direct to the worker using a public connection:
When you prefix the URL with mule-worker, it resolves to the public IP address of the worker. E.g.
$ dig +short mule-worker-vpc-test-net-tools.us-w2.cloudhub.io 52.36.163.55The worker must listen on either the HTTP port (8081) or the HTTPS port (8082). The application in this example is listening on the HTTP port.
$ nc -z mule-worker-vpc-test-net-tools.us-w2.cloudhub.io 8081 Connection to mule-worker-vpc-test-net-tools.us-w2.cloudhub.io port 8081 [tcp/sunproxyadmin] succeeded!
$ dig +short mule-worker-internal-vpc-test-net-tools.us-w2.cloudhub.io 10.1.2.44 $ nc -z mule-worker-internal-vpc-test-net-tools.us-w2.cloudhub.io 8081 Connection to mule-worker-internal-vpc-test-net-tools.us-w2.cloudhub.io port 8081 [tcp/sunproxyadmin] succeeded!
NOTE: Both the public and private IP of an application are dynamic by default. You can assign a static public IP to an application, but the private IP will always be dynamically assigned from the VPC CIDR block.
When connecting to a CloudHub application, the VPC firewall rules must be configured to allow inbound traffic. By default, the firewall contains an Anywhere rule (0.0.0.0/0) for TCP ports 8081 and 8082. This allows access to CloudHub applications from any source on those ports, and is required for access via the shared load balancers.
If you wish to remove access via the shared load balancer, you need to create additional rules for your specific source IPs, and access the worker directly (as described in steps 2c above). Refer to Add or Edit Firewall Rules for instructions.
Direct Connect uses Border gateway Protocol (BGP) routing, meaning all routing information must be advertised from your side, in order to appear in the VPC route table.
Follow How to View the VPC Route Table via the UI to confirm that the required routes are present.
If the required routes are not present, please update the BGP configuration on your side of the connection.
$ telnet mule-worker-internal-vpc-test-net-tools.us-w2.cloudhub.io 8081 Trying 10.1.2.44... Connected to mule-worker-internal-test-vpc-net-tools.us-w2.cloudhub.io. Escape character is '^]'.
001116868

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.