Hello Team,
Hope you are doing well..!
Actually, I have been trying to use one of my server API URL on its own server and also on another digital ocean server, but I am getting this error:
Failed to load
http://208.68.38.73:12235/getinfo: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '
http://explorer.4xbit.co' is therefore not allowed access.
Here is the screenshot:
http://prntscr.com/mtv5xx &
http://prntscr.com/mtv860I have enabled CORS in both servers source and destination server. So I want to know is there any restriction or block from the digital ocean side due to which I am not able to use CORS on it.
Or can you please help me in resolving the issue.
URL:
http://explorer.4xbit.co/ (While the source and destination are on same)
http://4xbit.co:8080/ (When source and destination on a different server)
Source/Origin Server : 208.68.38.73
Destination Server : 159.89.191.164
So in both the cases, either I use the API on its origin server it's still not working and showing the same error of CORS. Help is really appreciated.
Thanks