MacOS I run ngrok tunnels to my Rails web app with Puma Dev and it all works. Basically the tunnel hits 127.0.0.1:3206 or my port and all is well.
On my new Garuda Machine here, I have now spent 10 hours trying to mimic this, without success. The only thing now stopping me seems to be something with localhost! When a service tries to connect the tunnel, for some reason, address 127.0.0.1 is already taekn and I cannot figure out why.
/home/dlazar/.rbenv/versions/3
.2.2/lib/ruby/gems/3.2.0/gems/puma-6.3.0/lib/puma/binder.rb:334:in `initialize':
Address already in use - bind(2) for "127.0.0.1" port 3206 (Errno::EADDRINUSE)
So it seems something gloms onto this address and nothing else can work with it. Is there a trick with Arch to allow my localhost to be used by more than one caller?
System:
Kernel: 6.6.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=3ca8b255-f29c-4744-8324-8ca995444357 rw rootflags=subvol=@
quiet resume=UUID=88aa211a-5bdb-49f3-a5f5-d8ac5cf926a3 loglevel=3
mem_sleep_default=s2idle ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_wayland vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Apple product: MacBookPro12,1 v: 1.0
serial: <superuser required> Chassis: type: 9 v: Mac-E43C1C25D4880AD6
serial: <superuser required>
Mobo: Apple model: Mac-E43C1C25D4880AD6 v: MacBookPro12,1
serial: <superuser required> UEFI: Apple v: 486.0.0.0.0 date: 08/03/2023
Battery:
ID-1: BAT0 charge: 38.4 Wh (62.1%) condition: 61.8/74.8 Wh (82.6%)
volts: 11.4 min: 11.4 model: DP bq20z451 type: Li-ion serial: N/A
status: discharging cycles: 212
CPU:
Info: model: Intel Core i5-5287U bits: 64 type: MT MCP arch: Broadwell
gen: core 5 level: v3 note: check built: 2015-18 process: Intel 14nm
family: 6 model-id: 0x3D (61) stepping: 4 microcode: 0x2F
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 2481 high: 2901 min/max: 500/3300 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 2617 2: 2901 3: 2276
4: 2131 bogomips: 23198
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Iris Graphics 6100 vendor: Apple driver: i915 v: kernel
arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:162b
class-ID: 0300
Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.3
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
Monitor-1: eDP-1 res: 1463x914 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris wayland: drv: iris x11:
drv: iris inactive: gbm
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.2-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Iris Graphics 6100 (BDW
GT3) device-ID: 8086:162b memory: 15.16 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.3.274 layers: 9 device: 0 type: integrated-gpu name: Intel
Iris Graphics 6100 (BDW GT3) driver: mesa intel v: 23.3.2-arch1.2
device-ID: 8086:162b surfaces: xcb,xlib,wayland device: 1 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.3.2-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Broadwell-U Audio vendor: Apple driver: snd_hda_intel
v: kernel bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403
Device-2: Intel Wildcat Point-LP High Definition Audio
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0
class-ID: 0403
Device-3: Broadcom 720p FaceTime HD Camera driver: N/A pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 14e4:1570 class-ID: 0480
API: ALSA v: k6.6.10-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple
driver: brcmfmac v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
bus-ID: 03:00.0 chip-ID: 14e4:43ba class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Bluetooth:
Device-1: Apple Bluetooth Host Controller driver: btusb,hid-generic,usbhid
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-3:2
chip-ID: 05ac:8290 class-ID: fe01
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
lmp-v: 8 sub-v: 21a9 hci-v: 8 rev: 12d9 class-ID: 7c010c
Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch sniff
link-mode: peripheral accept service-classes: rendering, capturing, object
transfer, audio, telephony
Drives:
Local Storage: total: 465.92 GiB used: 23.24 GiB (5.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Apple model: SSD SM0512G
size: 465.92 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: JA0Q scheme: GPT
Partition:
ID-1: / raw-size: 448.54 GiB size: 448.54 GiB (100.00%)
used: 23.24 GiB (5.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 448.54 GiB size: 448.54 GiB (100.00%)
used: 23.24 GiB (5.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 448.54 GiB size: 448.54 GiB (100.00%)
used: 23.24 GiB (5.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 448.54 GiB size: 448.54 GiB (100.00%)
used: 23.24 GiB (5.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.52 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
ID-2: swap-2 type: partition size: 17.08 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 55.0 C pch: 52.5 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 265 Uptime: 4h 33m wakeups: 6 Memory: total: 16 GiB
available: 15.52 GiB used: 6.89 GiB (44.4%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: pm: pacman pkgs: 1967 libs: 565 tools: octopi,paru Shell: Zsh
v: 5.9 running-in: alacritty inxi: 3.3.31
Garuda (2.6.22-1):
System install date: 2023-12-24
Last full system update: 2024-01-10
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: No/Undetected
Failed units: