Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Share localhost over network wifi [amateur Q]

Options
  • 23-02-2014 1:13am
    #1
    Registered Users Posts: 9,487 ✭✭✭


    On XPsp3.

    Using Wamp
    Apache 2.2.22

    I want to be able to share everything from www down over our home network.

    Is this an easy thing to do? Stackoverflow has, like, 80 different opinions.

    Cheers for any guidance,

    Banquo


Comments

  • Registered Users Posts: 1,686 ✭✭✭RealistSpy


    Have you tried opening ports on your router?


  • Registered Users Posts: 9,487 ✭✭✭banquo


    Nope. This is an area where, in the past, doctors have borderline recommended blood pressure medicine. Do you know off hand if there are any specific ports I've to open, or if it varies by provider / router model / os version / Wamp version?


  • Registered Users Posts: 81,220 ✭✭✭✭biko


    Try this:
    Click your WAMP icon on your system tray and choose the option "Put Online".
    After doing so, go to your command prompt (Start -> Run -> Cmd [Press Enter] ) . Now type the command ipconfig. You will see your system's IP. Make note of that IP. Say your IP is 192.XXX.XXX.XX.
    Now you can access your localhost files as http://192.XXX.XXX.XX/myfile.php which is synonymous to http://localhost/myfile.php
    This URL could be accessed even from outside world. So be cautious ! :)


  • Registered Users Posts: 1,077 ✭✭✭percy212


    If port 80 is open cant you just use the machine ip address?


  • Registered Users Posts: 9,487 ✭✭✭banquo


    Was getting Forbidden.

    Have read easily two dozen articles on Stack Overflow. Turns out Wamp has a "Put online" option. So testing that now.

    If this works, it will explain exactly why I never pursued IT.


  • Advertisement
  • Registered Users Posts: 1,077 ✭✭✭percy212


    Maybe another app is hogging 80 - http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/

    Best of luck. I left IT for sanity purposes :)


  • Registered Users Posts: 9,487 ✭✭✭banquo


    It worked!


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    biko wrote: »
    http://192.XXX.XXX.XX/myfile.php which is synonymous to http://localhost/myfile.php
    This URL could be accessed even from outside world. So be cautious ! :)

    No it can't

    The only way it would be accessible from "outside" is if you had the public IP address

    The 192.* address is private IP space and is not reachable from outside your network


  • Registered Users Posts: 81,220 ✭✭✭✭biko


    Indeed you're right, without port forwarding it won't be accessible.
    Maybe even a change in httpd.conf would be needed.


Advertisement