Getting host ip automaticly