Add socket port to config.yml
null check