Actually, puppet is only going to attempt to connect to puppetdb on the SSL
port, so the setting in jetty.ini that you'll want to look at is the
"ssl-host" setting.  The "host" one will also be useful if you'd like to be
able to access the PuppetDB dashboard in a browser.


On Mon, Feb 4, 2013 at 5:07 AM, Ken Barber <k...@puppetlabs.com> wrote:

> (puppet-users is more appropriate for this question btw, next time use
> that mailing list instead of this one).
>
> 'Connection refused' is a generic TCP message telling us that the port
> is not open on the host you specified. This usually means its not
> running, or not listening on the host port combination.
>
> Take a look at:
>
> # cat /etc/puppetdb/conf.d/jetty.ini
> [jetty]
> # Hostname to list for clear-text HTTP.  Default is localhost
> host = 0.0.0.0
>
> Make sure host = 0.0.0.0 as apposed to 127.0.0.1. We normally set it
> to 127.0.0.1 for security reasons out of the box, so it only listens
> locally.
>
> ken.
>
> On Mon, Feb 4, 2013 at 1:00 PM, sonal <snlsingha...@gmail.com> wrote:
> > When i m using puppetDB n  Postgre  sql database, following error is
> coming.
> >
> > err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Failed to submit 'replace facts' command for abcd.example.com to PuppetDB
> at puppet-DB.example.com:8081: Connection refused - connect(2)
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Puppet Developers" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to puppet-dev+unsubscr...@googlegroups.com.
> > To post to this group, send email to puppet-dev@googlegroups.com.
> > Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-dev@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to