Changed so that port number is set from the environment.  defaults to 30...

...00 otherwise