Use smoke.http.ports and smoke.https.ports for config. Add error log