Move the hardcoded port number to config file.

Port should not be hardcoded it's better to have it in the
config file.