Localhosting is unaccessable from other devices on my local network

I have two machines in my house running endeavouros and both systems are unable to setup localhost properly.

If I run a python http.server or a zola server. The server starts and I am able to connect to it through my web browser on the same device. However, if I try to connect to the same IP on my other PC and phone, it just displays that the website is unreachable.

here is a tcpdump of my phone trying to connect to the zola server running on my endeavouros machine:
tcpdump: listening on wlan0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
23:17:48.757642 IP (tos 0x0, ttl 64, id 22891, offset 0, flags [DF], proto TCP (6), length 60)
10.1.1.145.48918 > endeavourAdam.lmsocialserver: Flags [S], cksum 0x3201 (correct), seq 2058211069, win 65535, options [mss 1420,sackOK,TS val 2552377 ecr 0,nop,wscale 9], length 0
0x0000: 4500 003c 596b 4000 4006 caa4 0a01 0191 E…<Yk@.@…
0x0010: 0a01 011a bf16 0457 7aad cefd 0000 0000 …Wz…
0x0020: a002 ffff 3201 0000 0204 058c 0402 080a …2…
0x0030: 0026 f239 0000 0000 0103 0309 .&.9…
23:17:51.558031 IP (tos 0x0, ttl 64, id 3860, offset 0, flags [DF], proto TCP (6), length 60)
10.1.1.145.48920 > endeavourAdam.lmsocialserver: Flags [S], cksum 0xf795 (correct), seq 3823408453, win 65535, options [mss 1420,sackOK,TS val 2555171 ecr 0,nop,wscale 9], length 0
0x0000: 4500 003c 0f14 4000 4006 14fc 0a01 0191 E…<…@.@…
0x0010: 0a01 011a bf18 0457 e3e4 9545 0000 0000 …W…E…
0x0020: a002 ffff f795 0000 0204 058c 0402 080a …
0x0030: 0026 fd23 0000 0000 0103 0309 .&.#…
23:17:56.542717 IP (tos 0x0, ttl 64, id 25765, offset 0, flags [DF], proto TCP (6), length 60)
10.1.1.145.48922 > endeavourAdam.lmsocialserver: Flags [S], cksum 0x7cc6 (correct), seq 3841784712, win 65535, options [mss 1420,sackOK,TS val 2560149 ecr 0,nop,wscale 9], length 0
0x0000: 4500 003c 64a5 4000 4006 bf6a 0a01 0191 E…<d.@.@…j…
0x0010: 0a01 011a bf1a 0457 e4fc fb88 0000 0000 …W…
0x0020: a002 ffff 7cc6 0000 0204 058c 0402 080a …|…
0x0030: 0027 1095 0000 0000 0103 0309 .'…

I’m not sure what the issue is. I have no firewall running, and I have definitely setup up the http.servers correctly. If I do the exact same commands on my ubuntu installation, localhosting works and I am able to access the server from multiple devices on my local network.

We ship with firewalld and enable it by default. Did you remove or disable it?

ahh this was problem. Thank you.
Did not realise there was a firewall active called firewalld.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.