Fixed curl error. Use IP site address from config.