Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    May 2010
    Posts
    222
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to access your local server from the outside world.

    Let say I have internet connection.I also installed wamp server and created a php script in my house. How can I access this php script away from my house?

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,439
    Thanks
    62
    Thanked 537 Times in 524 Posts
    You need to setup port 80 on your router to point to the network ip address of your computer that is running wamp.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,876
    Thanks
    6
    Thanked 1,035 Times in 1,008 Posts
    Note that, depending on your plan, your ISP might prevent remote access to your local server in the first place.

  • #4
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,451
    Thanks
    17
    Thanked 275 Times in 275 Posts
    Go to a site like whatismyip.com and get your internet address, wrap that with http:// then enter the address. Your ip may change regularly.

  • #5
    Regular Coder
    Join Date
    May 2010
    Posts
    222
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    Note that, depending on your plan, your ISP might prevent remote access to your local server in the first place.
    Thanks for the answer guys. What if my ISP does not allow remote access to my local server? Is there a work around it?Are you talking about ISP blocking port 80?And the solution is to change the port where the local server listen too?
    Last edited by Anishgiri; 11-20-2014 at 01:40 AM.

  • #6
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,876
    Thanks
    6
    Thanked 1,035 Times in 1,008 Posts
    I just found this article which might be exactly what you’re looking for: Accessing localhost From Anywhere

  • #7
    New to the CF scene
    Join Date
    Oct 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you need permission other router owner.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •