Hi, you're right, It's a problem of localhost. I test with remote server and It is working fine. Perhaps in a local server I would have to do a virtual red and to get an ip.

thanks