× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks again for your help.

I’ll have to pick this up again later.

From: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 11, 2023 10:04 AM
To: Therrien, Paul <ptherrien@xxxxxxxxxxx>
Cc: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: IBM I Debugger - connection refused

Yes, there is a port that has to be open for the firewall. See https://halcyon-tech.github.io/docs/#/pages/developing/debug/debug?id=debug-service-ports

On Tue, Apr 11, 2023 at 7:50 AM Therrien, Paul <ptherrien@xxxxxxxxxxx<mailto:ptherrien@xxxxxxxxxxx>> wrote:
Thanks Jack.
STRDBG does nothing to help the java client connect (that I can see). But I tried it anyway.
STRDBGSVR shows the debug server already started.

I cannot connect. The java log is showing ‘connection refused’ and the debug client is showing ‘Communications error'
Is there a port we need to have open?
I don’t see anything in the PDF for the debugger mentioning configurations of the IBM i.


From: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx<mailto:jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>>
Sent: Tuesday, April 11, 2023 9:42 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>>
Cc: Therrien, Paul <ptherrien@xxxxxxxxxxx<mailto:ptherrien@xxxxxxxxxxx>>
Subject: Re: IBM I Debugger - connection refused

1. You have to do STRDBG on the server.
2. You have to choose IBM i: Start Debug Service on VSCode

There are 2 parts to debugging with VSCode ... the good ol' Debug Service on the IBM i and a new TCP/IP port listener, the "Debug Server" to accept your connection from VSCode.

On Tue, Apr 11, 2023 at 7:30 AM Therrien, Paul via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>> wrote:
Trying to use the java IBM I Debugger.
We have 2 IBM I servers. I can connect to one without issue. But the other server is giving a 'connection refused' response.
What needs to be configured on the 2nd IBM I so that my connection will not be refused?
Thanks for any info.

--

JACK WOEHR, IBM Champion 2021-2023<https://www.credly.com/users/jack-woehr/badges>

SENIOR IBM i ENGINEER

[Image removed by sender.] 303.847.8442<tel:303.847.8442>
jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx<mailto:jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
[Image removed by sender.]<https://www.linkedin.com/in/jackwoehr/> stay connected<https://www.linkedin.com/company/absolute-performance-inc./>

[Image removed by sender.]<https://www.absolute-performance.com/>
[Image removed by sender.] www.absolute-performance.com<https://www.absolute-performance.com/>


NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain

confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further

distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and

delete/destroy all copies of this communication immediately.


--

JACK WOEHR, IBM Champion 2021-2023<https://www.credly.com/users/jack-woehr/badges>

SENIOR IBM i ENGINEER

[Image removed by sender.] 303.847.8442<tel:303.847.8442>
jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx<mailto:jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
[Image removed by sender.]<https://www.linkedin.com/in/jackwoehr/> stay connected<https://www.linkedin.com/company/absolute-performance-inc./>

[Image removed by sender.]<https://www.absolute-performance.com/>
[Image removed by sender.] www.absolute-performance.com<https://www.absolute-performance.com/>


NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain

confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further

distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and

delete/destroy all copies of this communication immediately.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.