minor fix for connection handling; IP/PORT now set in app config