eos icon indicating copy to clipboard operation
eos copied to clipboard

cant run eosc commands on Server using my IP address!

Open jatinmehta420 opened this issue 9 years ago • 11 comments

I have configured my RPC interface with "http-server-endpoint" and Chain_API plugin in the config.ini file. Whenever I run eosc commands on localhost, Im able to get relevant output. But when I use IP address of my cloud server, I get following error: Failed to connect to eosd at localhost:8888; is eosd running? capture8

Although my eosd was running. When I ran my eosd after editing config.ini file, I got following output: capture7 Blocks were still producing and my eosd was running.

jatinmehta420 avatar Nov 26 '17 08:11 jatinmehta420

do you also have the http plugin in your config? plugin = eosio::http_plugin

nanonano7 avatar Nov 26 '17 10:11 nanonano7

Yes sir I have

jatinmehta420 avatar Nov 26 '17 10:11 jatinmehta420

@heifner Sir Im in trouble please help me with this!

jatinmehta420 avatar Nov 27 '17 05:11 jatinmehta420

If your eosd is not running on localhost then you have to pass host and port to eosc. See eosc help for host and port options.

heifner avatar Nov 27 '17 05:11 heifner

Sir I have provided that too but eosc is not accessing eosd on that ip address and port @heifner

jatinmehta420 avatar Nov 27 '17 06:11 jatinmehta420

Sir my eosd is running perfectly on provided IP address and all the plugins are successfully loaded but still eosc is not able to access eosd on my IP address although I've provide host and port in the eosc commands! @heifner

jatinmehta420 avatar Nov 27 '17 06:11 jatinmehta420

can you access the api via browser?

nanonano7 avatar Nov 27 '17 08:11 nanonano7

no sir i cant

On Nov 27, 2017 2:10 PM, "nanonano7" [email protected] wrote:

can you access the api via browser?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/783#issuecomment-347112968, or mute the thread https://github.com/notifications/unsubscribe-auth/AVFFBLYaQ9KaudUYp7OX6ijTF6cKYy5Sks5s6nWUgaJpZM4Qqs7f .

jatinmehta420 avatar Nov 27 '17 08:11 jatinmehta420

well then its not eosc. can you provide your eosd config?

nanonano7 avatar Nov 27 '17 08:11 nanonano7

@nanonano7 Hi I'm having the same issue after I changed http-server-endpoint with myHost:myPort. eosd config has http_plugin: image Although i can access API via browser to get chain-info with following url http://myHost:myPort/v1/chain/get_info image But can't access any other info related to wallet-list, account-info, etc. Also i faced the same error as @jatinmehta420 faced. image Please help!

gxkaur avatar Dec 06 '17 09:12 gxkaur

Please use telegram EOS Developers or EOS.IO Testnet Developers for support.

If myPort != 8888 then you will need to specify port on the command line to eosc.

heifner avatar Dec 06 '17 18:12 heifner