# Does HTTP Connector work in a localhost?

**URL:** https://forum.cloverdx.com/t/does-http-connector-work-in-a-localhost/1042
**Category:** CloverDX Platform
**Created:** [March 31, 2012, 12:00am UTC](https://forum.cloverdx.com/t/does-http-connector-work-in-a-localhost/1042 "2012-03-31T00:00:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jed\_uretlguy](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jed\_uretlguy](https://forum.cloverdx.com/u/jed_uretlguy)
#### Post date: [March 31, 2012, 12:00am UTC](https://forum.cloverdx.com/t/does-http-connector-work-in-a-localhost/1042/1 "2012-03-31T00:00:00Z")

</div>

Hello,

I have a quick question. Does HTTP Connector work in a localhost? I have prestashop installed in my localhost, I’m trying to pull data from it using a REST webservice but Clover couldn’t get the data using HTTP Connector. However, I’ve tried testing it using a REST Client instead and it has all those data I need.

I will appreciate any reply to this query.

Thanks,

---

<div class="post-metadata">

### Author: ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)
#### Post date: [April 2, 2012, 7:44am UTC](https://forum.cloverdx.com/t/does-http-connector-work-in-a-localhost/1042/2 "2012-04-02T07:44:15Z")

</div>

Hi jed\_urETLguy,

yes localhost works with HttpConnector. You can try to use 127.0.0.1 alternatively, or even external IP of your machine. For localhost there are same requirements for URI format as when other machine is accessed. So it should look like [http://localhost:PORT/...](http://localhost:PORT/...).

---

<div class="post-metadata">

### Author: ![jed\_uretlguy](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jed\_uretlguy](https://forum.cloverdx.com/u/jed_uretlguy)
#### Post date: [April 2, 2012, 12:24pm UTC](https://forum.cloverdx.com/t/does-http-connector-work-in-a-localhost/1042/3 "2012-04-02T12:24:28Z")

</div>

I have a sample URI here:

```auto

http://QDHJJJDS45IUC4J4FOCN40TDUR72695I@localhost/prestashop/api/products/?display=full

```

Using an HTTP Connector, that supposedly create an XML file. The is a REST web service to pull the products in my Prestashop setup in my localhost. But it’s not able to pull those data. But I’ve tried that URI in a REST Client, and it’s able to pull those data. I’m really confused now why it’s now working.

---

<div class="post-metadata">

### Author: ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)
#### Post date: [April 2, 2012, 1:32pm UTC](https://forum.cloverdx.com/t/does-http-connector-work-in-a-localhost/1042/4 "2012-04-02T13:32:02Z")

</div>

I would try to do 2 things:

\* observe server’s logs (possibly enable detailed one)  
\* try also [http://name:password@localhost/...](http://name:password@localhost/...). ([http://doc.cloveretl.com/documentation/ … aders.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/examples-of-file-url-in-readers.html))
