Alert shows result of parsing local host on button click