- path.join used for making the url paths
- port in use error handled ( should add a retry mechanism )