km4ack / patmenu2

Tools for working with Pat Menu
GNU General Public License v3.0
21 stars 9 forks source link

Cannot Connect to Pat UI from Different Machine #71

Open jrtheobaldpw opened 1 year ago

jrtheobaldpw commented 1 year ago

Attempting to connect to Pat UI from a different machine fails but from the local host succeeds. The IP address of my machine is 192.168.1.10 and navigating from another machine to 192.168.1.10:5000 fails with ERR_CONNECTION_REFUSED.

~/patmenu2/config: MYCALLSIGN=KW6REX ARDOP="$HOME/ardop/./piardopc 8515 plughw:3,0 plughw:3,0" ARDOPGUI=$HOME/ardop/./piARDOP_GUI DIREWOLF="direwolf -p" KISS="sudo /usr/sbin/kissattach /tmp/kisstnc" AXP=wl2k MAP=usa RIGCONTROL=no RIG="/usr/local/bin/rigctl -m 4" MODEHF=USB MODE2M=FM PORT=5000 LOG=$HOME/Documents/mylog.txt AMRRON=no

Previously, I could reach the Pat UI form anywhere using that address. On Pat v0.11.0 (eb00df2) linux/arm - go1.16.5: pi@raspberrypi:~ $ sudo netstat -anp | grep pat tcp6 0 0 :::5000 :::* LISTEN 531/pat

On this beta, Pat Pat v0.13.1 (991d5e1) linux/arm - go1.19.1 I get ERR_CONNECTION_REFUSED even from the local host if I go to 192.168.1.10:5000. pi@raspberrypi:~ $ sudo netstat -anp | grep pat tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN 564/pat

SpudGunMan commented 1 year ago

please see https://github.com/la5nta/pat/wiki/The-web-GUI#connecting-to-pat-from-another-devicecomputer

jrtheobaldpw commented 1 year ago

Thanks, Kelly. That works great. And I didn’t know about that web site, so that will be very useful!

Rex

From: Kelly @.> Sent: Friday, October 21, 2022 1:38 PM To: km4ack/patmenu2 @.> Cc: jrtheobaldpw @.>; Author @.> Subject: Re: [km4ack/patmenu2] Cannot Connect to Pat UI from Different Machine (Issue #71)

please see https://github.com/la5nta/pat/wiki/The-web-GUI#connecting-to-pat-from-another-devicecomputer

— Reply to this email directly, view it on GitHub https://github.com/km4ack/patmenu2/issues/71#issuecomment-1287414053 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A3X37O5P5JPDMIGJOJNPGQLWEL5JJANCNFSM6AAAAAARLKZWW4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/A3X37O553VSLBMB4MXGUD53WEL5JJA5CNFSM6AAAAAARLKZWW6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSMXRQSK.gif Message ID: @. @.> >