2👍
Your URL is missing either a scheme (http://
or https://
) or the double slash (//
) that indicates it should be resolved relative to the current scheme.
Consequently, the IP address is taken as a relative path and the request is made to the same server for a path that doesn’t exist.
You can see this in the error message that tells you the 404 error is coming from http://localhost:8080/54.189.70.25/etc
!
Don’t omit the scheme.
Source:stackexchange.com