Access Drupal stack on Mac via external pc on local network
|
|
Hello, I have a Drupal stack on my Macbook and wonder how it can be accessed by another pc on our local network? I have the webserver switched on and the stack running on http://mymacbook.local:8080/drupal. Any help appreciated, |
|
|
Hi, You will need to connect to the local network IP of your Macbook. To find it out, type
in the Terminal. Cheers |
|
|
Hi, Thanks! But if I do that I still cannot access the stack. Should I use this: http://localnetworkIP/drupal ? Or something else? Gerben |
|
|
Yes, that’s it. Do you have any firewall enabled? |
|
|
Yes but webserver is allowed and i just disabled to test, no difference. Gerben |
|
|
Mmmmm, what port is Apache using? You can find it out under the directive Listen in the file httpd.conf EDIT: I just saw it in your first post. Apache is using the port 8080, which is not the default webserver port (but 80). So, you may need to tweak the firewall a little bit more. To be sure, try to install the stack as the Administrator and it will be installed in port 80. EDIT2: If you disabled the firewall, to access from other computer you will need to type http://localnetworkIP:8080/drupal |
|
|
Ah bingo! Thanks! It was a combination of typing the address with the corredt port and disabling the firewal. Thanks for the quick help, |
