are you using XAMPP?
By default, the access from internet is disabled in xampp configuration. Check it out!