check cosacs host before trying to connect to interface