Problem for connecting APPM to NNA #APCC (Blocking Issue !) #APCC


philippe oros
 

Hi Guys
When I want to try tonight, I bump into a new problem the APPC is set in RestAPI and the mount is found at address 192.168.0.3, but the ASCOM Driver indicates 127.0.0.1:59590 (which is the correct port now) but when I press on Check Port I get the error msg :'Mount not Found!" . (screen copy attached)
I've reinstalled everything and nothing changes so the ASCOM cannot connect anymore and none of the apps either !
I've even reselected the virtual ports option, same result ....

I suspect some files keep the information despite the new installations could I delete them ? if yes where are they located ?
What can I do ?


 

Hi Philippe

If you haven't already done this, try this video for setting up the REST API, including clicking the config button https://youtu.be/7r2qujy8BkM

The IP addresses you mentioned are fine. There is the IP address of the mount. the REST API is a local loopback ip address 127.0.0.1

It sounds like you have been changing the default port assignments. Is there a reason for this?



On Wed, Jan 18, 2023 at 9:09 AM philippe oros <oros.philippe@...> wrote:
Hi Guys
When I want to try tonight, I bump into a new problem the APPC is set in RestAPI and the mount is found at address 192.168.0.3, but the ASCOM Driver indicates 127.0.0.1:59590 (which is the correct port now) but when I press on Check Port I get the error msg :'Mount not Found!" . (screen copy attached)
I've reinstalled everything and nothing changes so the ASCOM cannot connect anymore and none of the apps either !
I've even reselected the virtual ports option, same result ....

I suspect some files keep the information despite the new installations could I delete them ? if yes where are they located ?
What can I do ?




philippe oros
 

 I've watched the video that I didn't knew and when I do the first step, when I try the AP Jog I get an error message (see screen copy) ...
 I also noticed that I installed the ASCOM Driver first and then APPC in the video its the contrary is that important ?


philippe oros
 

I forget to attach the screen copy ...


Linwood Ferguson
 

I'm not sure I am following all this and if this is obvious my apologies but... 

127.0.0.1 is the address of the computer so it can talk to itself.

The REST API is, in fact, the computer talking to itself (more precisely the ASCOM driver running on the computer talking to APCC running on the computer).  

The IP address of the mount is off the computer, it is the CP4.  So it must be a "real" IP address, separate from the computer (but on the same subnet, generally meaning the first three numbers match). 

Also, as a general case, most stuff in NINA and APCC/APPM and PHD2 all work with the port numbers they default to. The only time one would change it, normally, is if you are driving multiple mounts from one computer.  Just leave the default port numbers alone throughout.  The IP address of the mount and computer can change of course and probably will if you are tying it to other networks.

If all this is obvious my apologies.... 

Linwood


 

Hi Phiippe

Launch apcc
connect to your mount
click "Config" button for ascom
image.png

Then try opening the jog utility and connecting via ascom

if that doesn't work, let's connect offline and see about solving this

On Wed, Jan 18, 2023 at 10:00 AM philippe oros <oros.philippe@...> wrote:
I forget to attach the screen copy ...




philippe oros
 

Hi Brian
I already exactly the steps you describe, and just re-did them again, it fails with the same error message !


 

I sent you a private message

On Wed, Jan 18, 2023 at 12:49 PM philippe oros <oros.philippe@...> wrote:
Hi Brian
I already exactly the steps you describe, and just re-did them again, it fails with the same error message !




Mike Hanson
 

Philippe,

In a DOS/Command window try pinging to the loopback address to make sure you don't have an issue with your computer:
ping 127.0.0.1

Regards,
Mike Hanson


philippe oros
 

ok thanks, Ive replied


philippe oros
 

Hey Mike,
The ping work fine,   


Dale Ghent
 

Hi Philippe,

It might be that you are running a firewall that is blocking port 59590, which is the TCP port in question here. As far as the Windows firewall goes, this is usually taken care of effortlessly by the NINA installer but, now and then, it seems that the firewall rules to open that port do not take. It could also be the case that you may be running additional anti-virus software that can be blocking it as well.

To manually emplace the firewall rules, you can do the following:

1. Open a cmd.exe or PowerShell window in Administrator mode (right-click the icon for either, select Run as Administrator)
2. Run the following 3 commands in the order listed:

netsh http add iplisten ipaddress=::
netsh http add iplisten ipaddress=0.0.0.0
netsh http add urlacl url=http://+:59590/ user=Everyone

This will ensure TCP/59590 is open as far as the Windows firewall is concerned.

/dale

On Jan 18, 2023, at 16:48, philippe oros <oros.philippe@...> wrote:

Hey Mike,
The ping work fine,


Ray Gralak
 

Hi Phillippe,

When I want to try tonight, I bump into a new problem the APPC is set in RestAPI and the mount is found at
address 192.168.0.3, but the ASCOM Driver indicates 127.0.0.1:59590(which is the correct port now)
That is not the correct port. 59590 is the port used by default in NINA, not APCC.

Please set the port number in APCC's advanced settings to Port 60001, or something other than 59590 if you plan to use NINA. Then restart APCC and click the config driver button, just to be sure.

-Ray



-----Original Message-----
From: main@ap-gto.groups.io [mailto:main@ap-gto.groups.io] On Behalf Of philippe oros
Sent: Wednesday, January 18, 2023 9:10 AM
To: main@ap-gto.groups.io
Subject: Re: [ap-gto] Problem for connecting APPM to NNA #APCC (Blocking Issue !)

Hi Guys
When I want to try tonight, I bump into a new problem the APPC is set in RestAPI and the mount is found at
address 192.168.0.3, but the ASCOM Driver indicates 127.0.0.1:59590 (which is the correct port now) but when I
press on Check Port I get the error msg :'Mount not Found!" . (screen copy attached)
I've reinstalled everything and nothing changes so the ASCOM cannot connect anymore and none of the apps
either !
I've even reselected the virtual ports option, same result ....

I suspect some files keep the information despite the new installations could I delete them ? if yes where are they
located ?
What can I do ?