extract server ip from config