Closed prinick96 closed 6 years ago
Solved... steps:
So if you follow the steps in your second comment, you can use Ripple API but with your own server?
Yes! The problem is public config of rippled.cfg
i follow your step but mine did not work could you upload your rippled.cfg file ?
I also follow the same steps but not work, give an error
[NotConnectedError(connect ECONNREFUSED 127.0.0.1:5005, { Error: connect ECONNREFUSED 127.0.0.1:5005 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
i replace host in above code
@pankajbarhate13 @Baha2Odeh Try using the following in your configuration:
[server]
port_rpc
port_peer
port_wss_admin
port_ws_public
[port_rpc]
port = 5005
ip = 0.0.0.0
admin = 127.0.0.1
protocol = http,https
Be aware that this configuration may allow nonlocal RPC access to your server. If you plan on only accessing your server locally, then I recommend specifying ip = 127.0.0.1
Hi guys, first, sorry for my bad english. I bought a dedicated server with CentOS for build a rippled server. I follow these instructions : https://ripple.com/build/rippled-setup/ and has runned the rippled server.
The rippled server running in 5005 and 6006, i understand what 6006 port is for Websockets and 5005 is for RPC.
I have a api with ripple-lib api in NodeJS https://github.com/ripple/ripple-lib I setup my app with
And i can use the rippled network, but i use my server, and don't have connection.
Greats