Setting up WAMP to run on a LAN [closed] - wamp

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've installed WAMP on a Windows 7 PC, and it is running fine locally, as localhost.
I want PCs on the LAN to be able to view the local server. When they load my PC's IP address in their browser, they receive a "You don't have permission to access / on this server" error.
I followed this guide, but the issue remains. To recap:
I've added an inbound exception to Windows Firewall for port 80 for Private and Domain connections.
I've edited Apache's httpd.conf to include:
Listen 80
Listen 192.168.0.5:80
< Directory "c:/wamp/www/wordpress/" > allow from all <
/Directory >
I've edited httpd-vhosts.conf to include:
< VirtualHost 192.168.0.5:80 > DocumentRoot "C:/wamp/www/wordpress"
< /VirtualHost >
Any ideas?

The top-level folder must have the right permissions set (in your case c:/wamp/www/). Try to change
< Directory "c:/wamp/www/wordpress/" > allow from all < /Directory >
with
< Directory "c:/wamp/www/" > allow from all < /Directory >
Hope it helps.

In my local Wordpress, the Wordpress address and Site address were both using localhost.
I changed this to the IP address, and the problem is resolved.

Related

How to login ssh from windows host to Linux guest in Virtualbox? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have windows as Host for my virtualbox and Ubuntu as as Guest. How can I login from ssh command to my guest machine?
To Login ssh first install openSSH in your ubuntu with
sudo apt-get install openssh-client
then from virtualbox, go to setting->Network->Adapter 1->port Forwarding there will open one port forwarding box, click on + sign.
Give the name as you wish, protocol TCP, HOST IP 127.0.0.1 HOST port 2222 Guest IP 10.0.2.15 (what ever it is in guest ip, check by ifconfig command in ubuntu terminal) and Guest Port 22
you can use putty or tools in windows to connect.

WAMP changed port but the application link wont update from localhost to localhost:8080

WAMP changed port 80 to 8080 in Apache > httpd.conf but the application link won't update from localhost to localhost:8080
And so I have to type :8080 when starting the application over and over again...
The Question is:
Is there any way to make wamp application link to localhost and localhost/phpMyAdmin to localhost:8080 and localhost:8080/phpMyAdmin so I don't have to type this all the time ?
Thx :)
Edit c:/wamp/wampmanager.tpl file so the WAMP menu points to localhost:81.
Find http://localhost and change it to htttp://localhost:81
also, if you think something else has already grabbed port 80, that is why its not working..,then,
Run wampmanager->Apache->Service->Test port 80
This will launch a command window and tell you what is using port 80.
Whatever it is will need to be re-configured to use another port or for example if its IIS and you dont use IIS it should be un-installed.

WAMP Server getting an error "Could not execute menu item (internal error)" [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I downloaded WAMP server with version 2.2 and installed on a Windows 7 64-bit machine .
But the issue is it throws an error with following details:
Aestan Tray Menu
Could not execute menu item (internal error)
[Exception] Could not perform service action:
The service has not been started
Could anyone tell me what exactly it means and the solution if it is known?
Left click on the tray of the WAMP icon, choose restart all services.
else
Choose stop service at all of the service, and start all again..
Restart your computer and rerun again.
If not, check if any of your configuration got wrong.
OR
Go to Wampsever->Apache->httpd.conf
and just change the line
Listen 0.0.0.0:80 Listen [::0]:80 as Listen 0.0.0.0:8080 Listen [::0]:8080
*copy the line find & replace..
here is the solution in youtube https://www.youtube.com/watch?v=nct5BBn6hW8

Wamp server Forbidden [duplicate]

This question already has answers here:
WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server
(35 answers)
Closed 9 years ago.
I installed latest WAMP 2.2d x64 on a new computer (no previous or uninstalled/reinstalled wamp versions).
Right after installation, running the wamp server and putting it online (else localhost is also forbidden) i try to open phpmyadmin.
I get an error:
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
I dont know why that is happening. I havent changed ANY settings yet. On my other computer i run older version of wampserver, and as far as i remember, there were not any problems with running phpmyadmin or localhost after installation.
Thanks
Left click on the icon and then "Go online" (otherwise when you point at WAMP icon it says server offline although the icon is green)
wamp server might not be having permissions to access the phpmyadmin directory.
right click and run wamp server as administrator.
have you installed wamp and phpmyadmin in program files ?
If yes, I would suggest you to uninstall and install it directly under C: or somewhere else.
UPDATE:
Check this out.
WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server
Following change is need to solve this problem
From the WampServer icon, left click, select Apache > Alias Directories > .../phpmyadmin/ > Edit alias to open the alias configuration file:
<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
to modify following line(add ::1)
Allow from 127.0.0.1 ::1
again restart wamp check solve this.
Try changing localhost/phpmyadmin/ to 127.0.0.1/phpmyadmin/

Virtualbox "port forward" from Guest to Host [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Here is my setup:
- Host: Windows XP
- Guest: Ubuntu 10.04
- Networking: NAT
I am setting an Apache web server on the Guest, but I want to be able to do this on the Windows machine:
- go to the browser, type http://localhost:8000
Also, I tried to change my networking to bridge and I got a new IP. But when I tried to do http://:8000, it says that it could not connect.
Network communication Host -> Guest
Connect to the Guest and find out the ip address:
ifconfig
example of result (ip address is 10.0.2.15):
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:36:99
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
Go to Vbox instance window -> Menu -> Network adapters:
adapter should be NAT
click on "port forwarding"
insert new record (+ icon)
for host ip enter 127.0.0.1, and for guest ip address you got from prev. step (in my case it is 10.0.2.15)
in your case port is 8000 - put it on both, but you can change host port if you prefer
Go to host system and try it in browser:
http://127.0.0.1:8000
or your network ip address (find out on the host machine by running: ipconfig).
Network communication Guest -> Host
In this case port forwarding is not needed, the communication goes over the LAN back to the host.
On the host machine - find out your netw ip address:
ipconfig
example of result:
IP Address. . . . . . . . . . . . : 192.168.5.1
On the guest machine you can communicate directly with the host, e.g. check it with ping:
# ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=128 time=2.30 ms
...
Firewall issues?
#Stranger suggested that in some cases it would be necessary to open used port (8000 or whichever is used) in firewall like this (example for ufw firewall, I haven't tested):
sudo ufw allow 8000
That's not possible. localhost always defaults to the loopback device on the local operating system.
As your virtual machine runs its own operating system it has its own loopback device which you cannot access from the outside.
If you want to access it e.g. in a browser, connect to it using the local IP instead:
http://192.168.180.1:8000
This is just an example of course, you can find out the actual IP by issuing an ifconfig command on a shell in the guest operating system.