I'm running emacs 24.5 installed via homebrew. for some weird reason my emacs gets stuck on Contacting host: melpa.org:80
I even tried a fresh install of emacs (removed .emacs.d folder as well) Also i'm able to ping the url melpa.org through terminal.
Any ideas on how to fix this.