Ok, I've solved it.. Basically, I did 2 things:
1)
- Open System Preferences from Dock or from the Apple Logo menu.
- Click on Network.
- Select your internet connection and click Advanced.
- Select the DNS tab and add 8.8.8.8 and 8.8.4.4 to the list of DNS servers.
- Select the Proxies tab and make sure that all checkboxes are unticked, except the "Use Passive FTP Mode"(you can leave this on)
- Click OK.
- Restart your Mac
2) I've turned off the firewall on security and privacy.
Don't forget restart you mac after doing all those things.
Cheers!