Hot answers tagged port
CentOS 6 comes with Postfix as default mail server and you can see it running (tcp :25 1186/master). Try to stop Postfix (service postfix stop) and then start sendmail (service sendmail start).
Nothing is blocking port 80. You just have firewall NAT rules which are redirecting connections to that port to other ports, which aren't open. Chain PREROUTING (policy ACCEPT 1 packets, 40 bytes) pkts bytes target prot opt in out source destination 0 0 REDIRECT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 ...
If you want to just test if you can use the port, use Netcat: On your server nc -l 0.0.0.0 8283 Note: The -l switch instructs netcat to listen to port 8080. On your client telnet 18.104.22.168 8283 or nc 22.214.171.124 8283
Your localhost parameter to the -S option is telling PHP to only listen to localhost, or 127.0.0.1. If you want it available externally, you need to use either the external IP address / hostname or "0.0.0.0", though a quick read through the manual page doesn't explicitly indicate 0.0.0.0 will work.
Only top voted, non community-wiki answers of a minimum length are eligible