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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Share localhost over network wifi [amateur Q]

  • 23-02-2014 12:13am
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 Posts: 1,686 ✭✭✭RealistSpy


    Have you tried opening ports on your router?


  • Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 1,077 ✭✭✭percy212


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


  • Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 9,487 ✭✭✭banquo


    It worked!


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭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, Registered Users 2 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