replace hostname with address, fix running from gui

replace hostName with hostAddress, fix remote access
revert one hostAddress with hostName