bosh-lite access over external IP address

103 views
Skip to first unread message

Daniel Watrous

unread,
Sep 30, 2014, 2:49:20 PM9/30/14
to vcap...@cloudfoundry.org
I recently got bosh-lite (cloudfoundry) to run on my Windows system using this process:

However, any attempts to access cloudfoundry over the external IP are actively refused:
C:\Users\watrous>e:\cf api --skip-ssl-validation https://api.16.85.146.145.xip.io
Setting api endpoint to https://api.16.85.146.145.xip.io...
FAILED
Error performing request: Get https://api.16.85.146.145.xip.io/v2/info: dial tcp 16.85.146.145:443: ConnectEx tcp: No connection could be made because the target machine actively refused it.

I can ping the IP successfully.

tcpdump shows the traffic coming to the server
vagrant@agent-id-bosh-0:~$ sudo tcpdump -i eth2 tcp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes
16:38:05.467606 IP 16.85.146.167.18171 > 16.85.146.145.https: Flags [S], seq 414885446, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
16:38:05.467694 IP 16.85.146.145.https > 16.85.146.167.18171: Flags [R.], seq 0, ack 414885447, win 0, length 0
16:38:05.971100 IP 16.85.146.167.18171 > 16.85.146.145.https: Flags [S], seq 414885446, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
16:38:05.971200 IP 16.85.146.145.https > 16.85.146.167.18171: Flags [R.], seq 0, ack 1, win 0, length 0
16:38:06.474400 IP 16.85.146.167.18171 > 16.85.146.145.https: Flags [S], seq 414885446, win 8192, options [mss 1460,nop,nop,sackOK], length 0
16:38:06.474518 IP 16.85.146.145.https > 16.85.146.167.18171: Flags [R.], seq 0, ack 1, win 0, length 0


I have tried flushing all iptables and accepting all traffic.

Any idea what I need to change to communicate with cloudfoundry over the bridged IP address?

Thanks.
Reply all
Reply to author
Forward
0 new messages