apache not accepting incoming connections from outside of localhost
In case not solved yet. Your iptables say:
state RELATED,ESTABLISHED
Which means that it lets pass only connections already established... that's established by you, not by remote machines. Then you can see exceptions to this in the next rules:
state NEW tcp dpt:ssh
Which counts only for ssh, so you should add a similar rule/line for http, which you can do like this:
state NEW tcp dpt:80
Which you can do like this:
sudo iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
(In this case I am choosing to add the new rule in the fourth line)
Remember that after editing the file you should save it like this:
sudo /etc/init.d/iptables save
Apache Servicemix windows - Works in Localhost but not with the public IP address
OK. Found the problem. If you are using a Windows instance in AWS , adding security group alone will not be enough. Log in to the instance, got to Windows firewall and add a new Rule to allow the required port. Should work then
Surprising that its not documented anywhere.
This solution is not just for servicemix , but for everything.
Can't access my xampp server remotely
You need to use your network IP adress instead of localhost (127.0.0.0).
If you are behind the firewall, you need to allow incoming connections for port 80, maybe for mysql port also (if you plan to use remove SQL management software).
Most probably you'l also need to configure your router ( if your have one ), to route all incoming connections from 80 port to your web server subnet address.
Accessing localhost (xampp) from another computer over LAN network - how to?
Localhost is just a name given for the loopback, eg its like referring to yourself as "me" ..
To view it from other computers, chances are you need only do http://192.168.1.56 or http://myPcsName if that doesnt work, there is a chance that there is a firewall running on your computer, or the httpd.conf is only listening on 127.0.0.1
Related Topics
How to Add a Line of Text to the Middle of a File Using Bash
Get Free Disk Space with Df to Just Display Free Space in Kb
How to Use Arrow Keys Alone to Expand Tree Node in Package Explorer in Eclipse on Linux
Create Zip File and Ignore Directory Structure
Maximum Number of Bash Arguments != Max Num Cp Arguments
Mongodb Gui Client (Cross-Platform or Linux)
Meaning of Tilde in Linux Bash (Not Home Directory)
How to Compile/Install Node.Js(Could Not Configure a Cxx Compiler!) (Ubuntu)
Best Way to Get MAChine Id on Linux
Bash: Silently Kill Background Function Process
Node.Js: Cannot Find Module 'Request'
How to Get the Percentage of Memory Free with a Linux Command
Memory Limit to a 32-Bit Process Running on a 64-Bit Linux Os
What Is the Correct Way to Start a Mongod Service on Linux/Os X
How to Get the Difference (Only Additions) Between Two Files in Linux