# Client no longer connecting to server

**URL:** <https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334>\
**Category:** Support\
**Created:** [May 31, 2018, 1:59pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334 "2018-05-31T13:59:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 31, 2018, 1:59pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/1 "2018-05-31T13:59:38Z")

</div>

Hello Chris,

I just updated to the new version, 0.8, and I cannot connect to the server anymore when I start the client. Cursor rotates for a bit showing loading in progress and then nothing happens. Any idea how to fix that?  
Just a quick update, version 0.7 works after downgrading.

Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 31, 2018, 2:13pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/2 "2018-05-31T14:13:48Z")

</div>

Hi Beshoy,

MWServer’s default listening address is now “localhost” (instead of 127.0.0.1). Be sure that you enter “localhost” in MWClient’s URL field when connecting.

Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 31, 2018, 3:12pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/3 "2018-05-31T15:12:37Z")

</div>

Hello Chris,  
I tried replacing the old address with “localhost” with no success.  
Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 31, 2018, 3:34pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/4 "2018-05-31T15:34:30Z")

</div>

Hi Beshoy,

> I tried replacing the old address with “localhost” with no success.

Just to be clear, you shouldn’t include the quotes, just the text `localhost`. I’ve attached images showing how it should look in both client and server.

If it still doesn’t work, a few questions:

- Was the old address 127.0.0.1?
- In MWServer’s network settings, is “Listening address” set to `localhost`?
- Are you running MWClient and MWServer on the same machine?

Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 31, 2018, 3:34pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/5 "2018-05-31T15:34:30Z")

</div>

Attachments:

- [client.jpeg](https://mworks.discourse.group/uploads/short-url/g5yaBgF9mc6EDQknXz19qXWhUM9.jpeg) (27.5 KB)
- [server.jpeg](https://mworks.discourse.group/uploads/short-url/fXU3dxCuquSSkhaNyikT2IomdSK.jpeg) (51.7 KB)

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 31, 2018, 3:43pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/6 "2018-05-31T15:43:40Z")

</div>

Hi Chris,  
Thanks for the reply. I tried using 127.0.0.1 for both server and client and now it works for 0.8. is this ok or is there a problem with using this ip?!  
For localhost, yes, I put it without the quotes. To answer your questions:

1. yes it was
2. yes i put localhost in the listening address as well  
3)yes same machine

Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [May 31, 2018, 4:38pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/7 "2018-05-31T16:38:59Z")

</div>

> I tried using 127.0.0.1 for both server and client and now it works for 0.8. is this ok or is there a problem with using this ip?!

That’s totally fine. Using localhost is nominally better, because it can refer to either an [IPv4](https://en.wikipedia.org/wiki/IPv4) or [IPv6](https://en.wikipedia.org/wiki/IPv6) address, whereas 127.0.0.1 is strictly IPv4. But 127.0.0.1 still works the same as it always did.

> yes i put localhost in the listening address as well

Do you mean you had to change the listening address to localhost? If so, what was it before you changed it? Did you restart MWServer after changing it?

Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [June 1, 2018, 12:21pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/8 "2018-06-01T12:21:45Z")

</div>

Hi Chris,  
When i did a clean install of version 0.8, the url in the client was 127.0.0.1 and in the server listening address “localhost” by default.

Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [June 1, 2018, 2:02pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/9 "2018-06-01T14:02:46Z")

</div>

OK, thanks for the additional info. I still can’t guess why setting the address to “localhost” in both places didn’t work, but it’s probably not worth investigating further.

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [June 4, 2018, 4:15pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/10 "2018-06-04T16:15:45Z")

</div>

Hi Chris,  
Indeed, as long as it worked, that’s fine by me. I might do a system restore or something at some point in the future to see if it’s resolved, but for now, it works.  
Thanks,  
Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 19, 2022, 9:47pm UTC](https://mworks.discourse.group/t/client-no-longer-connecting-to-server/334/11 "2022-07-19T21:47:13Z")

</div>


