0

I am having problem when I am Requesting following URL in GeoServer

/geoserver/wfs?REQUEST=GetFeature&VERSION=1.1.0&typename=Final&propertyname=name&service=WFS&

I am getting following error:

<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows http:///geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>
java.lang.RuntimeException: Unable to obtain connection: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Unable to obtain connection: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused: connect
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Can any one help in resolving this issue?

nmtoken
13.6k5 gold badges39 silver badges91 bronze badges
asked Oct 31, 2013 at 7:28

1 Answer 1

1

Check that your postgres database is working properly and the DataStore definition in GeoServer is correct: port, host name, etc.

GeoServer is telling you that it can't connect to to postgres.

answered Oct 31, 2013 at 11:11
1
  • Thanks for the Answer i have solved this problem and your answer is right. Commented Nov 5, 2013 at 6:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.