Cant access wamp from Local network - php

I installed on VM--->server 2019, and on the server i have configured a Wamp server 3.1.9 version php 7.1, I have access to my project on my server, also i changed my localhost project to domain name and again i access to my project(url with authentication with no problem) its a ticketing system my project
The real problem now is that i can't connect from another pc on my local network from another vm machine
both the server and the client are on the same VMnet(0)
this is my conf file

Problem solved!!
Adding httpd.exe(WAMP Apache) application to firewall, rule application open connections for port 80, And one more rule for MySQL database tcp rule open connections for port 3306!!

Related

Accessing php webs app via the public ip of Azure VM

We have a PHP app which we installed on Azure VM. It works fine locally and accessible.
The server at 104.xxx.xx.xx is taking too long to respond.
We have used WAMP Server to host it and all looks fine. We are however not able to access it over the public ip of the server.
We have tried a few things without any result.
First of all, you can check if the port is listening with CMD comamnds netstat -anbo. If the port is listening on external address 0.0.0.0 then you can check if the firewall inside the Azure VM or NSG associated with the Azure VM NIC or subnet blocking it.
Navigated to the virtual machine --- networking ---inbound port rules to find the related NSG rules on the Azure portal.
You also can telnet the VM public IP address and port from the on-premise machine to validate the networking connection.

Hosting php application on Windows Server 2008 R2

I have installed xampp on my local machine as well as Windows Server 2008 and Apache and MySql is running on both.
I created a test application which I am running on my local machine.
http://localhost/example/
I want to test this example application on the server. How can I do this?
adding 192.168.1.11/example/(ip address of the server) gives me 404 - File or directory not found.
You would have to move those files over to the server instance. and make a change in your XAMPP configuration to allow the IP of your local machine to connect to the instance.
Do you have physical access to the server instance? (I.E. VM/SSH, In basement)
This question might be helpful if you are looking to allow an external IP.
httpd-xampp.conf: How to allow access to an external IP besides localhost?

Host wamp virtual host on port 81 and prevent typing port

Hi
I an using a VPS with Windows Server 2012 R2 hosting. I have to deploy web sites on both the IIS and WAMP.
IIS is running on port 80 (default), while I have changed the WAMP port to 81.
I can access my my sites as follows:
I access my IIS hosted sites as:
www.myIISSite.com
while I access my WAMP-hosted sites as:
www.myWAMPSite.com:81
My question is , how can I get rid of :81 after www.myWAMPSite.com while still using both the IIS and WAMP?
Is this possible?
Thanks in advance.
**Thanks for your response. As I asked the same question from my service provider, they told me to purchase an additional IP address for that purpose. I wonder why can't I hide port from the user, i.e. why does the user have to type in port number? While I was working on an open source project where I had to host both the Tomcat server files as well as PHP files, the tomcat server was running on port 8080 on Ubuntu 10 server and I didn't have to type in the port 8080 while opening the jsp pages.
Thanks a lot for your answer anyways.
**

EC2 (t1.micro) Windows XAMPP Can't Connect via web

I have opened a micro instance on AWS with a Windows_Server-2008-R2_SP1-English-64Bit-Base-2013.11.13 (ami-1e53c82e) virtual machine. RDS is open and I have connected with remote desktop connection. Additionally, at initialization I set HTTP (port 80), and HTTPS (port 443) although I do not know how to verify that now. From within the VM I navigated to XAMPP and installed a default installation (minus MySQL). I then navigated to XAMPP control panel V3.2.1 and started Apache. I set a password on XAMPP directory. I set a "Hello World" test txt file in htdoc and that loads in the VM browser. However, when I try to access the pubic IP, my local browser times out.
I think I covered the first three checks on
"xampp configuration in windows server 2008 r2 ec2 instance" post
but not sure how to change the elastic or private IP response if that is relevant.
If you're using VPC, you have to allow both inbound/outbound in the network ACL and inbound for the security group. You probably also have to open the ports in the windows firewall.
Edit: You definitely don't want to disable the firewall altogether. Also, it doesn't matter whether you use public ips from within AWS. And public host names resolve locally anyway.

WAMP server as subdomain on IIS machine

My boss wants me to merge my dev server on to the same server as our live production application.
The problem with this is that the current application is .NET and development is WAMP.
On my local machine this worked fine because I could just tag a port to the URL like :8080 or :81.
But, I have tried to point our testing subdomain to an alternate port, but, I found out this isn't possible with DNS.
How can I successfully leave IIS as the main host (www.domain.com) and serve requests for the subdomain (dev.domain.com) from WAMP?
Since both services are webserver operating on port 80, you simply can't without moving one or another to a different port.
The only "workaround" that comes to mind is to set up a subdomain on IIS with redirect to your WAMP dev server.

Categories