Added option for local host

Input a '0' for the hostname field to connect to the local host