Ask Your Question
0

How to check whether port 8140 is pointing to puppet master?

asked 2015-11-11 11:36:44 -0500

sandeep gravatar image

I installed open source puppet master and also configured apache passenger web server by following the puppet labs document. now httpd service is running fine but my question is how can i know or check whether port 8140 is pointing to puppet master or not?

when i ping the server in url http://<server name="">:8014 : Noting is getting displayed when i try http://<server name="">:80 : Apache web server page is getting opened.

below is my netstat analysis of ports 80 and 8140.

netstat -anp | grep 8140 tcp 0 0 :::8140 :::* LISTEN 4548/httpd unix 3 [ ] STREAM CONNECTED 23481409 15711/java [root@yyzcpa2001 ~]# netstat -anp | grep 80 tcp 0 0 0.0.0.0:2809 0.0.0.0:* LISTEN 9227/java tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN 9227/java tcp 0 0 :::9809 :::* LISTEN 15328/java tcp 0 0 :::80 :::* LISTEN 4548/httpd tcp 0 0 :::8080 :::* LISTEN 7616/httpd udp 0 0 127.0.0.1:809 0.0.0.0:* 1481/rpc.statd udp 0 0 fe80::250:56ff:feaa:3f8e:123 :::* 1760/ntpd udp 0 0 fe80::250:56ff:feaa:423:123 :::* 1760/ntpd unix 2 [ ACC ] STREAM LISTENING 12803 1461/rpcbind /var/run/rpcbind.sock unix 3 [ ] STREAM CONNECTED 43305680 4561/Passenger ust- unix 3 [ ] STREAM CONNECTED 43305580 4548/httpd unix 3 [ ] STREAM CONNECTED 14080 1837/master unix 3 [ ] STREAM CONNECTED 13580 1656/acpid /var/run/acpid.socket unix 3 [ ] STREAM CONNECTED 13280 1666/hald

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-11 12:02:53 -0500

Simplest way is to telnet servername 8140 If it gives no response we'll need to dig deeper I'm assuming firewall /iptables I'd off or at least open on that port Cheers Stuart

edit flag offensive delete link more

Comments

Hi Stuat.. i agree with your answer to check whether the port is opened or not, but i just want to whether port 8140 is pointing to puppet master or not can we confirm that through any command?

sandeep gravatar imagesandeep ( 2015-11-11 12:10:52 -0500 )edit

Try running this command: puppet config print masterport

jdarra gravatar imagejdarra ( 2016-08-16 16:47:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-11 11:36:44 -0500

Seen: 249 times

Last updated: Nov 11 '15