I have set up a headless raspberry pi zero W to allow SSH via a USB connection. I now want to be able to host for example syncthing on the pi.
Under which IP address should this be accessible?
The initial set up is based on this post and works well allowing me to access SSH via USB. My set up steps are:
Add:
dtoverlay=dwc2
to boot/config.txt`Add:
modules-load=dwc2,g_ether
to boot/cmdline.txt after rootwaitAdd the following two lines to rootfs/etc/dhcpcd.conf:
interface usb0
static ip_address=192.168.5.1/24
The machine I am using to connect to the pi is running Ubuntu 20.04.2 LTS.
After setting the IPv4 to manual with the address 192.168.5.2
and netmask 255.255.255.0
the raspberry pi is accessible using ssh pi@192.168.5.1
I have no problem suing the SSH.
Then I installed syncthing and started it up which should run on port :8384
but if I try and access the GUI in the web browser at http://192.168.5.1:8384
it times out.
How can I find out where under which IP the syncthing server (or any other) should be running?
Thanks every one for helping me out!
ip a; ip r
curl "http://127.0.0.1:8384"
and see if you get anything back other than refused...