xampp configuration in windows server 2008 r2 ec2 instance - amazon-ec2

i am trying to set up a site with xampp. i have succesfully connected to the instance via remote desktop and installed xampp and python (needed for my php script). now i am trying to find a way to connect to the instance's localhost via a browser in my local computer with the provided private and elastic IPs but no succefull attempt yet. i would like to configure that with a static IP or domain name (i suppose the elastic or private IP?) because my site will be used for http requests.

did you allow port 80/443 in your security group?
did you start the xampp server?
when logged in via remote desktop, are you able the open 'http://localhost' in a remote browser?
your elastic IP is the address reachable from public
private IP is the address reachable from within the availability zone

Related

DNS Forwarder on Windows Server 2012 in VirtualBox?

I'm currently running VirtualBox with Windows Server 2012 in Bridged Mode. The virtual server is able to connect to the internet. I have set up my DHCP, DNS, Active Directory, and have a local DNS IP as my static IP. 192.168.1.26 for example leads to game.ns1.company.com
This IP will redirect to game.ns1.company.com on my local server when my Playstation3 queries for that server via router 192.168.1.1. But I have to explicitly tell my Playstation3 to point to that IP, otherwise it will not find it by default.
However, I want people visiting my public IP address to be redirected somehow to my Windows Server 2012. UDP packets in particular.
Is there some kind of DNS forwarder setting? Is there a setting that helps redirect traffic toward the router 192.168.1.1 to 192.168.1.26 which is my Windows Server 2012? Thank you.

Access Shared Folder on GCP Windows VM Instance

I've set up Windows Server VM instance on GCP. I've set up a static IP for that server and I'm able to remote desktop in without problem using the inside IP address as I have a VPN connection between my on premesis network and my GCP network. On the Windows Server, I've set up a sharing folder with the proper permissions.
Now, on my local PC running Windows 10, I'm trying to map a network a drive to that shared folder on the VM. What's the correct path to specific it to map to? I tried \\ but it doesn't work.
I have enabled network discovery, checked all firewall rules and enabled file and print sharing.
I can ping from my local pc to my Windows VM instance.
Thanks in advance
I have opened up the following ports on GCP Network:
tcp-access Ingress Apply to all IP ranges: 192.168.84.0/24
tcp:135-139
udp:445
Still unable to access.
I thought by default google had all ingress ports open on the local IP?
I checked the firewall on the server and everything is open as well.
Thanks in advnace.

Can't start mirth connect on windows server public IP

Can't start mirth connect on windows server public IP. It is running fine on local IP. I have added the application in windows firewall exception list. Disabled the firewall but nothing worked.
Tried adding record in hosts file as well. But the web service is not accessible using public IP not even in the VM itself.

Access specific port run by services using elastic ip

I have windows server 2008 R2 running in AWS (with Elastic IP)where i am running Apache service to host one of website which i can easily access using various method like
Like "localhost:port" works fine
Using server NIC ip address:port works fine.
In my current use case where i want to expose this website on my elastic IP i am not able to do so.
However if i host any website on my IIS i can access or view using my elastic IP but i am unable to host apache website on IIS.
Whenever i try to access apache one it never worked.
I tweaked firewall setting
I also updated conf file of apache whenever i try to give elastic IP address it will not start.
Failed with following error message
The Apache service named reported the following error:
>>> (OS 10049)The requested address is not valid in its context. : make_sock: could not bind to address 52.xx.xx.xx:8888
Following is my service details of apache on services.msc
C:\Program Files (x86)\vcollapp\apache\bin\Apache.exe -k runservice
Now how can i expose my site which is running on apache service inside windows to elastic ip of AWS.
Thanks in Advance for your help and time.
Try binding to 0.0.0.0? This will accept connections from all interfaces, not just localhost.
If you check your network interfaces, do you see an interface with the Elastic IP? Or do you just have your Private IP?
There are different ways of using Elastic IP's, and my assumption here is that the IP is not physically attached to your machine, but instead, you have a private IP that all traffic from the Elastic IP is routed through.
WAN -> Elastic -> Private

Which IP address I have to use to access Ratchet server

I have setup ratchet on amazon EC2 instance.
It is running fine, but I am not able to connect with the public IP address of the instance as well as the url.
Following is the screenshot showing ratchet is running.
You need to make sure that the service is running on the right IP address (not only on 127.0.0.1) and that you enabled access in the security group to that particular port.

Resources