Wifi connection issue

I am trying to connect appium as suggested in http://www.helpingtesters.com/appium-wifi/, but I am getting error “unable to connect”