eos
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.
1、when i run "cleos --url http://localhost:8888 get info" ,occures Error 3200006: invalid http request
2、but when i "ping localhost" ,it's ok .
3、when i execute "ping localhost",it's ok.

Check if http-validate-host = 0 (or false) in config.ini
now, then i modify "http-validate-host = 0" ,it's ok.thank you.