ability to set port and upgrade ngconstant