(fix) update templates to use passed in ip/port