make hosts & ports configurable for local testing