Re: Connection refused -

Amit Kumar Gupta

Any reason you're targetting and not

On Sat, Mar 19, 2016 at 8:17 AM, Wayne Ha <wayne.h.ha(a)> wrote:


I am trying CF v231 and am able to run cf login with a warning:

admin(a)CT-Test-v231:~$ cf login -a -u admin -p
admin --skip-ssl-validation
API endpoint:
Warning: Insecure http API endpoint detected: secure https API endpoints
are recommended
Select an org (or press enter to skip):
1. admin
2. org
3. cats-org
Org> 2
Targeted org org
Targeted space org_dev
API endpoint: (API version: 2.51.0)
User: admin
Org: org
Space: org_dev

But the cf domains command failed:

admin(a)CT-Test-v231:~$ cf domains
Getting domains in org org as admin...
Failed fetching domains.
Server error, status code: 500, error code: 10001, message: An unknown
error occurred.

I found this in the cloud_controller_ng.log:

,"message":"Request failed: 500: {\"code\"=>10001
, \"description\"=>\"Connection refused - connect(2) for \\\"\\\" port 443 (\"
, \"error_code\"=>\"CF-ECONNREFUSED\"

Is there a way I can get this command not to connect to port 443 (https)
and use port 8080 (http) instead?


Join to automatically receive all group messages.