I managed to solve the problem changing a setting in the Apache httpd.conf.
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
I changed it to
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
And now my mobile can access the web service.