Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Raspberry Pi OS • Re: Use of curl vs. pycurl and correct syntax

$
0
0
Have been away from the forum for a week, and I feel a bit stupid for what I asked a week ago.

I have now posted in the introduce yourself thread. viewtopic.php?p=2213753#p2213753

The main reason I stepped away was because the Camera Tools for Heros (CTfH)app was not listening for json data input. The ports were confusing. Intially CTfH was reporting that it was using port 810, but that would not open and I could not try your suggestions. Then I saw somewhere that Linux only allows ports higher than 1024. So I set CTfH for 1025 and found this at the terminal window:

Code:

pi@raspberrypi:~ $ sudo ss -ltnpState     Recv-Q    Send-Q       Local Address:Port        Peer Address:Port                                                                                    LISTEN    0         5                127.0.0.1:631              0.0.0.0:*        users:(("cupsd",pid=997,fd=7))                                                LISTEN    0         5                    [::1]:631                 [::]:*        users:(("cupsd",pid=997,fd=6))                                                LISTEN    0         50                       *:1025                   *:*        users:(("heroct",pid=3787,fd=13))                                              pi@raspberrypi:~ $]
Which told me that hero camera tools was listening. I am not sure if the port number is enough or if it must be a full http address . . . .

Let me go and start the new thread in the beginner's section

Statistics: Posted by Gerald_D — Sat Apr 20, 2024 1:28 pm



Viewing all articles
Browse latest Browse all 4151

Trending Articles