change localhost IP to api.cf.local address