Added possibility to set port from outside

Port possible to set from outside