Why other people can't get access to my WampServer in LAN? - wampserver

I can visit WampServer through localhost 127.0.0.1.
And I try to change the Port 80 to other number. Like this "Listen 80" --> "Listen 8080" in httpd.conf. The firewall has been shutdown.
I am sure I have set the WampServer "Put Online".
Why still can't visit by others in LAN?
Many thanks!

Make sure when trying to vist the site after a port change that you specify the port
localhost:8080 for instance
other wise the browser will assume it is port 80
Hope this helps a little

Related

Netgate pfSense port 80 and 443 forward

I have a Netgate pfSense firewall in PPPoE mode to my ISP. There is a DHCP MikroTik router behind the firewall and i want to port forward the ports 80 and 443 to an Ubuntu VM web server.
I did forwarded these ports from my firewall to my MikroTik router, and from my MikroTik router to my VM ip address.
I can see the traffic when i go to https://my_public_ip but i get redirected to port 4433 which is the interface of my firewall.
The odd thing is that there are other ports forwarded with the exact same configuration and they work. For example i forwarded the port 22 for FTP and it works like a charm.
Why i am not able to visit my web server given the fact that it is configured correctly. Or it is not?
If you need further explanation or configuration please let me know
I had to disable the webGUI Redirect from my pfSense firewall

How can I access my local development server over the internet?

I have Wamp 3.1.7 running on a Windows 10 machine. The goal is to have the projects on this server accessible via the internet.
The server is available and working as expected over LAN when accessed with the LAN IP, e.g.
http://10.0.0.3/.
The server runs behind my router, which has its web interface running on port 80, so when I access my public IP, traffic on port 80 goes to the router login page.
Steps taken to try and solve the issue:
change the port my server is listening to from 80 to 8080. (this is working, both locally and over LAN, accessed with http://10.0.0.3:8080)
Add inbound rules on windows firewall for port 8080, set to allow all.
Add port forwarding on the router settings (forward incoming traffic on port 8080 to local IP 10.0.0.3:8080 as per https://portforward.com/d-link/dsl-g2562dg/)
Using PFPortChecker, it says that port 8080 on public_ip is open and able to send data.
I remain unable to access my server. When I go to public_ip:8080, I get ERR_CONNECTION_TIMED_OUT.
As stated above, going to public_ip just displays the router login page.
So as far as I can tell: port 8080 is open, my server is accessible over LAN on port 8080.
What am I missing? Where else could my traffic be blocked?
Stupid mistake on my side.
Answer found here: Public IP Web Page "Connection Timed Out" When Connected To
The issue was that you cannot access the server with the public_ip if connected the LAN the server is running on.

Port 8082 not available

I installed a Jenkins server on port 8080.
Then I installed GitBlit, which usually takes port 8080 too, so that I changed to port 8082.
On the machine I can call localhost:8082, but from remote 192.168.178.3:8082 is not available.
Jenkins response works on 192.168.178.3:8080
I opened the port on the hardware firewall. Still no response.
The last thing I could image is the Windows firewall, but even after opening the port for TCP for in and out its not working?
Or where do you think the problem is?
If you are using Gitblit GO, the default config for Gitblit GO will bind to localhost and will be unreachable from another machine. Check out server.httpBindInterface and server.httpsBindInterface.
Perhaps you need to do any port forwarding on your hardware firewall?
If you suspect Windows, you can add your program/service to the exception list in you Win Firewall settings. You can make this by going to:
START->Control Panel->Windows Firewall->Windows Firewall with Advanced Security
and modify Inbound and Outbound rules.

Virtualbox access a port on host's localhost from guest as localhost (guest->host port forward)

The situation is that I try to test a webpage in IE8 (Win 7 guest OS), and for some reason I have many "http://localhost:8000" url used in development environment used in js ajax, so I cannot access my host's server through the ip.
So what I want to do is that when I say http://localhost:8000 in guest's browser, it should forward the request to host's local port 8000.
Any idea?
You should edit %systemroot%\system32\drivers\etc\hosts file.
Set localhost to point to the IP address of your host machine.
For example:
192.168.0.10 localhost
Cheers!

Mochiweb Port 80

I am attempting to run BeepBeep through Mochiweb on Port 80. It works if I type sudo ./start_server.sh. Are there any security risks with running Mochiweb like this? If so how to remedy?
Thanks!
running any service as root has risk. It's hard to answer your question properly without more information though. Is this a production service or a dev instance you are running?
If production I would recommend running the mochiweb instance on a different port so it can run as a user and then using a proxy like nginx or apache to listen on 80 and forward the request.
You could start it on an unprivileged port and do port-forwarding in your firewall, so that port 80 goes to your unprivileged port.

Resources