3👍
✅
You should specify protocol scheme: http://
, your cors settings are not the issue.
axios.get('http://localhost:4000')
Also you requests just localhost:4000
and as I see your server hasn’t /
route – you will get 404 error.
Source:stackexchange.com