eos icon indicating copy to clipboard operation
eos copied to clipboard

when i run "cleos --url http://localhost:8888 get info" ,occures Error 3200006: invalid http request,but when i "ping localhost" ,it's ok . Also when i excute "cleos --url http://127.0.0.1:8888 get info"",it is ok.

Open amActiveHello opened this issue 8 years ago • 2 comments

1、when i run "cleos --url http://localhost:8888 get info" ,occures Error 3200006: invalid http request image 2、but when i "ping localhost" ,it's ok . image 3、when i execute "ping localhost",it's ok. image

amActiveHello avatar Jul 27 '18 10:07 amActiveHello

Check if http-validate-host = 0 (or false) in config.ini

alienzin avatar Jul 27 '18 15:07 alienzin

now, then i modify "http-validate-host = 0" ,it's ok.thank you.

amActiveHello avatar Jul 27 '18 15:07 amActiveHello