Site Search

2014-06-08

Remote host browser policy for local HTML5 development

Use the domain local.loxal.net if you want to access your localhost applying remote host execution policy of your browsers JavaScrip virtual machine. Also some HTML5 APIs are only usable when you call them from a remote hostname. To verify that everything works correctly, just execute ping local.loxal.net which should execute pings against your 127.0.0.1 IP address, aka localhost.

idea:~/my/project/loxal/Vel master ping local.loxal.net
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.082 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.128 ms