I am trying to access my lightning node, part of a BTCPayServer instance via REST api but not getting any response from it. I am running this type of python script on the VPS
with corresponding location for tls.cert and admin.macaroon but getting this error

    ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /v1/channels (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1f7b1c8a00>: Failed to establish a new connection: [Errno 111] Connection refused'))

I was expecting a json with channels on the node.


By pplny

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다