It looks like by default, puppet-forge-server only listens on 127.0.0.1:8080 making it impossible to access it from outside the machine it's running on. I am running CentOS 7.
sudo netstat -anp | grep 8080
shows
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 32547/ruby
tcp6 0 0 ::1:8080 :::* LISTEN 32547/ruby
Here is a comparison with ssh listening on that machine:
sudo netstat -anp | grep sshd
shows
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1304/sshd
Note that ssh listens on 0.0.0.0 (anonymous IP). How can I change this so puppet-forge-server can be reached from external machines?
It looks like by default, puppet-forge-server only listens on 127.0.0.1:8080 making it impossible to access it from outside the machine it's running on. I am running CentOS 7.
shows
Here is a comparison with ssh listening on that machine:
shows
Note that ssh listens on 0.0.0.0 (anonymous IP). How can I change this so puppet-forge-server can be reached from external machines?