Message Boards

liferay 7.2 CE REST DATA provider error - URL must not be a local network

Izzat Helmi, modified 3 Years ago.

liferay 7.2 CE REST DATA provider error - URL must not be a local network

New Member Posts: 3 Join Date: 9/1/20 Recent Posts
Hi Experts,Need your help on this. I tried to follow this tutorial: https://help.liferay.com/hc/en-us/articles/360029134351-Data-Providers which guide on how to retrieve drop-down list values (list of countries) from Liferay built-in REST service in Liferay forms.However after I entered all the details and saved, i got this error: "URL must not be a local network".
FYI, I run Liferay 7.2 in my localhost and managed to see the REST service values (http://localhost:8080/api/jsonws/country/get-countries/ )  if i opened it in browser. Any ideas what I did wrong? Thanks.