<div dir="ltr"><div>Heya, Philip!<div><br></div><div>I'm not familiar with this code you're running currently, so someone more knowledgeable about that would have to explain why that code doesn't work, however after doing the same netcat port listen as you have, this code works for me in both Cuis and Pharo:</div></div><div><br></div><a href="https://cdn.discordapp.com/attachments/521910967966236692/796783148184764466/unknown.png">https://cdn.discordapp.com/attachments/521910967966236692/796783148184764466/unknown.png</a><br><div><br></div><div><div>I use this code regularly to connect Pharo to the Godot game engine.</div><div>Hopefully that works for your purposes, otherwise I'm sure someone else will be glad to help you out! </div><font color="#888888" style="--darkreader-inline-color:#9d9488;"><div><br></div><div>- Justin Chandler</div></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 7, 2021 at 4:45 AM Philip Bernhart via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'm currently a little bit confused, maybe you can help me.<br>
I just tried to connect to a TCP service port (using netcat),<br>
running locally on port 5432 and I get a primitive failed error.<br>
<br>
To reproduce (nc = netcat):<br>
<br>
$ nc -l -p 5432<br>
<br>
In Cuis:<br>
  Feature require: 'Network-Kernel'.<br>
  stream := SocketStream openConnectionToHost: 'localhost' port: 5432.<br>
<br>
When I try the same with a different programming language,<br>
for example ruby, then I get a connection and no error.<br>
<br>
Also accessing remote services there is no issue.<br>
When trying localhost with port 8080 there is no isuse.<br>
<br>
I tried to run that also in pharo and I encountered the same<br>
issue.<br>
<br>
So what's going on here?<br>
<br>
<br>
Thanks,<br>
Philip<br>
-- <br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div>