kubernetes-vagrant-coreos-cluster
                                
                                 kubernetes-vagrant-coreos-cluster copied to clipboard
                                
                                    kubernetes-vagrant-coreos-cluster copied to clipboard
                            
                            
                            
                        Use 10.0.2.2 when proxy supporting? 'The connection to the server localhost:8080 was refused - did you specify the right host or port?'
I checked your Vagrantfile. In this coding, config.proxy.http set 'http://localhost:3128' If then master instance reffer own localhost IP. So it is better to use '10.0.2.2' instead 'localhost'. On the other hand, I tried vagrant up again after configured HTTP_PROXY. let you know the result.
I modified configuration of proxy. But it is same result.
I found the reason. It is referent proxy ip of host and guest os on virtualbox. As you know, host is using 'localhost:3128', on the other hand guest os is using '10.0.2.2:3128' as NAT. Your Vagrantfile is confused and modified set configure. Actually, I set '10.0.2.2:3128' and I found proxy configurations were changed '10.0.2.2:3128' after vagrant up. So host OS is referring 10.0.2.2:3128 as proxy, and refused...maybe. By the way I would like to this issue becomes completed, or closed, how do that?
I am sorry but I don't have a proxy around here to validate this issue. If you feel it's solved, please just close the issue.