Fixed ip address when nothing was inputted.