vps - Access a link from Java -


today rented vps , managed move entire website on it, have problems. try access xml java (i have android app) exchange rates website.

if use www.mydomain.com/ecbrates.xml,it's not working.

i error exception in thread "main" java.io.ioexception: server returned http response code: 403 url.

it works if use www.vpsip/ecbrates.xml. have ideas why makes problems?

i've seen previous post has been deleted... fine..

finally believe found answer, problem have dns cloudflare , not allow access domain outside of browsers. guess it's security thing...


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -