could not open socket fix

This fixes a major error in this repository which I always face on all my servers. which is "could not open socket" error