# ERROR: Requesting a socket connection at 127.0.0.1:

**URL:** <https://precice.discourse.group/t/error-requesting-a-socket-connection-at-127-0-0-1/1116>\
**Category:** Using preCICE\
**Tags:** communication\
**Created:** [July 26, 2022, 8:40am UTC](https://precice.discourse.group/t/error-requesting-a-socket-connection-at-127-0-0-1/1116 "2022-07-26T08:40:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Silver\_Ray](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/silver_ray/32/1375_2.png) [@Silver\_Ray](https://precice.discourse.group/u/Silver_Ray)\
**Post date:** [July 26, 2022, 8:40am UTC](https://precice.discourse.group/t/error-requesting-a-socket-connection-at-127-0-0-1/1116/1 "2022-07-26T08:40:06Z")

</div>

Hi,  
I have installed precise v2.1.1 on Ubuntu 20.04.  
When I run tutorials, the following error "requestConnectionAsClient: ERROR: Requesting a socket connection at 127.0.0.1:XXXXX failed with the system error: resolve: Host not found (authoritative)  
" always appears.  
I really want to know what went wrong?

Thanks in advance!  
Ray

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [July 26, 2022, 8:47am UTC](https://precice.discourse.group/t/error-requesting-a-socket-connection-at-127-0-0-1/1116/2 "2022-07-26T08:47:37Z")

</div>

Is there anything special about your system? Is it a laptop, some cluster, something else?

Maybe you can find something helpful in the documentation: [Communication configuration | preCICE - The Coupling Library](https://precice.org/configuration-communication.html)

By the way, if you can, it would be better to upgrade to the latest preCICE, as we improved the error messages with v2.2.0 (currently we are in v2.4.0).

---

<div class="post-metadata">

**Author:** ![Silver\_Ray](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/silver_ray/32/1375_2.png) [@Silver\_Ray](https://precice.discourse.group/u/Silver_Ray)\
**Post date:** [July 27, 2022, 8:31am UTC](https://precice.discourse.group/t/error-requesting-a-socket-connection-at-127-0-0-1/1116/3 "2022-07-27T08:31:59Z")

</div>

Hi Makis,  
Thanks for your advice. My Ubuntu is running in vmware16.  
As per your suggestion, I reinstalled the latest preCICE v2.4.0，and read [Communication configuration | preCICE - The Coupling Library](https://precice.org/configuration-communication.html) . Finally, I found a similar question to mine in [preCICE hangs during initialization](https://precice.discourse.group/t/precice-hangs-during-initialization/33). I deleted the precice-run folder in the exchange directory of the solvers. It works!  
Thanks for the inputs.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)\
**Post date:** [August 1, 2022, 2:28pm UTC](https://precice.discourse.group/t/error-requesting-a-socket-connection-at-127-0-0-1/1116/4 "2022-08-01T14:28:48Z")

</div>

Closed on August 1, 2022, 2:28pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
