delay creation of @injector until the url port has been defined