TCP/80 can`t connect from outside

carletto86

New Member
Hi everybody,

i´m trying to build an home NAS server with fedora 30. I just installed Nextcloud with snap but i can connect only from the internal network and not from outside. NO-IP Address is already setted (SSH work perfectly and i used it with Arch before).

The is the result of netstat -lan
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0      1 10.0.0.18:22            49.88.112.76:28796      FIN_WAIT1  
tcp        0      0 10.0.0.18:22            49.88.112.76:36664      ESTABLISHED
tcp        0      0 10.0.0.18:22            213.225.7.43:50045      ESTABLISHED
tcp        0      1 10.0.0.18:22            49.88.112.76:56587      FIN_WAIT1  
tcp        0      1 10.0.0.18:22            49.88.112.76:45537      FIN_WAIT1  
tcp        0    192 10.0.0.18:22            213.225.7.43:50067      ESTABLISHED
tcp6       0      0 :::80                   :::*                    LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN     
tcp6       0      0 :::9090                 :::*                    LISTEN     
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
udp        0      0 127.0.0.1:323           0.0.0.0:*                          
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
udp6       0      0 ::1:323                 :::*                               
udp6       0      0 :::5353                 :::*                               
raw6       0      0 :::58                   :::*                    7

I searched in google but i couldn`t find anything interesting. What I see is that port 80 ist not listening with 0.0.0.0.
Same example is with torrent-daemon.
Can anyone give me some suggestions please?

Thanks in advance.
 


dos2unix

Active Member
firewall-cmd --zone=FedoraServer --add-service=http

to make permanent

firewall-cmd --zone=FedoraServer --add-service=http --permanent
 

JulienCC

Active Member
Hi,

What I see is that port 80 ist not listening with 0.0.0.0.
I might be wrong but netstat might not make distinction between single stack ipv6 listeners and dual stack listeners. Dual stack listeners can handle both ipv6 and ipv4 connections (ipv4 addresses are mapped to ipv6).

I would check your router and make sure your port forwarding rules are ok.
Just a reminder : you should set a static dhcp lease to your server on your router and set port forwarding rules to your server's local IP for port 80.
 

Staff online

Members online


Latest posts

Top