Made port depend on environment variable so it works automatically in c9.