# Problem with Pinegrow/Atom integration

**URL:** <https://forum.pinegrow.com/t/problem-with-pinegrow-atom-integration/76>\
**Category:** General\
**Created:** [July 28, 2016, 12:48pm UTC](https://forum.pinegrow.com/t/problem-with-pinegrow-atom-integration/76 "2016-07-28T12:48:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andytarbard](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@andytarbard](https://forum.pinegrow.com/u/andytarbard)\
**Post date:** [July 28, 2016, 12:48pm UTC](https://forum.pinegrow.com/t/problem-with-pinegrow-atom-integration/76/1 "2016-07-28T12:48:31Z")

</div>

Hi,  
I’ve just started using Pinegrow (OS X 10.11.6) & was interested to use the new Atom integration, but it’s not working.

When I follow the instructions the Pinegrow package in Atom reports “_Unable to connect to Pinegrow at [http://localhost:40001/editor](http://localhost:40001/editor)._”

I have previously changed the Pinegrow port, so I’ve changed it back to 40001 and restarted, but still get the same error. I’ve upgraded to Pinegrow 2.9.2, uninstalled/re-installed the package in Atom, and tried the following settings for the Pinegrow web server:

localhost:40001  
127.0.0.1:40001

The Development Tools console reports that the server is starting correctly, but I can’t access /editor directly in a browser either.

Any ideas on what I’m doing wrong?

Thanks,  
Andy

---

<div class="post-metadata">

**Author:** ![andytarbard](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@andytarbard](https://forum.pinegrow.com/u/andytarbard)\
**Post date:** [July 28, 2016, 12:53pm UTC](https://forum.pinegrow.com/t/problem-with-pinegrow-atom-integration/76/2 "2016-07-28T12:53:44Z")

</div>

Ha - I just found the problem myself.

In the package settings within Atom the “Pinegrow url with port” was set to [http://localhost:40000](http://localhost:40000) even though the error was reporting port 40001. I’ve changed this in the settings and it’s now working.

Andy

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [July 29, 2016, 2:10pm UTC](https://forum.pinegrow.com/t/problem-with-pinegrow-atom-integration/76/3 "2016-07-29T14:10:09Z")

</div>

Great 🙂

Atom setting should be the same as is shown in Pinegrow -\> Support -\> Show API url.

Matjaz

---

<div class="post-metadata">

**Author:** ![kohjonathan](https://avatars.discourse-cdn.com/v4/letter/k/ea666f/32.png) [@kohjonathan](https://forum.pinegrow.com/u/kohjonathan)\
**Post date:** [September 29, 2016, 3:55am UTC](https://forum.pinegrow.com/t/problem-with-pinegrow-atom-integration/76/4 "2016-09-29T03:55:16Z")

</div>

I have also found out that the “Unable to connect to Pinegrow at [http://localhost:40001/editor](http://localhost:40001/editor)” appears if PineGrow is not running. Thus, the solution is to run PineGrow before running ATOM.

---

<div class="post-metadata">

**Author:** ![prashant](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/prashant/32/829_2.png) [@prashant](https://forum.pinegrow.com/u/prashant)\
**Post date:** [December 5, 2017, 8:25am UTC](https://forum.pinegrow.com/t/problem-with-pinegrow-atom-integration/76/5 "2017-12-05T08:25:21Z")

</div>

hey i got same problem uper please help me
