How can I configure port forwarding properly
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I'm using Ubuntu Server 16.04 with Apache WebServer (port 80) and rTorrent/ruTorrent (port 49164).
I've correctly forwarded both ports on my router pointing to the right IP on my LAN. But tools such as www.canyouseeme.org always say that my port is closed.
I've tried using UFW as well as disabling it altogether.
Which log or logs can I check and upload here to get further help?
networking server apache2 rtorrent rutorrent
 |Â
show 3 more comments
up vote
0
down vote
favorite
I'm using Ubuntu Server 16.04 with Apache WebServer (port 80) and rTorrent/ruTorrent (port 49164).
I've correctly forwarded both ports on my router pointing to the right IP on my LAN. But tools such as www.canyouseeme.org always say that my port is closed.
I've tried using UFW as well as disabling it altogether.
Which log or logs can I check and upload here to get further help?
networking server apache2 rtorrent rutorrent
Can you connect locally?
â Ken Sharp
Mar 8 at 16:39
Sure. I can access ruTorrent (which is hosted using Apache) and download all kinds of torrents successfully (rTorrent), but "port is closed" message is always there. So I guess my connectivity to the swarm isn't that great.
â MosEisley34
Mar 8 at 16:45
1
Suggest using tcpdump (or wireshark, if you prefer) to observe if packets are even arriving at your server. Note also that some ISPs block port 80.
â Doug Smythies
Mar 8 at 16:51
Nice suggestion. I'll install WireShark. So, I have to monitor the LAN IP:port from the server that I have those services from within another PC on the LAN?
â MosEisley34
Mar 8 at 17:07
I would run the wireshark equivalent of this (change interface name to whatever yours is)sudo tcpdump -n -tttt -i enp4s0 port 80
on the same server that is hosting your Apache WebServer.
â Doug Smythies
Mar 8 at 17:28
 |Â
show 3 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using Ubuntu Server 16.04 with Apache WebServer (port 80) and rTorrent/ruTorrent (port 49164).
I've correctly forwarded both ports on my router pointing to the right IP on my LAN. But tools such as www.canyouseeme.org always say that my port is closed.
I've tried using UFW as well as disabling it altogether.
Which log or logs can I check and upload here to get further help?
networking server apache2 rtorrent rutorrent
I'm using Ubuntu Server 16.04 with Apache WebServer (port 80) and rTorrent/ruTorrent (port 49164).
I've correctly forwarded both ports on my router pointing to the right IP on my LAN. But tools such as www.canyouseeme.org always say that my port is closed.
I've tried using UFW as well as disabling it altogether.
Which log or logs can I check and upload here to get further help?
networking server apache2 rtorrent rutorrent
networking server apache2 rtorrent rutorrent
asked Mar 8 at 16:27
![](https://i.stack.imgur.com/FrEyU.jpg?s=32&g=1)
![](https://i.stack.imgur.com/FrEyU.jpg?s=32&g=1)
MosEisley34
13
13
Can you connect locally?
â Ken Sharp
Mar 8 at 16:39
Sure. I can access ruTorrent (which is hosted using Apache) and download all kinds of torrents successfully (rTorrent), but "port is closed" message is always there. So I guess my connectivity to the swarm isn't that great.
â MosEisley34
Mar 8 at 16:45
1
Suggest using tcpdump (or wireshark, if you prefer) to observe if packets are even arriving at your server. Note also that some ISPs block port 80.
â Doug Smythies
Mar 8 at 16:51
Nice suggestion. I'll install WireShark. So, I have to monitor the LAN IP:port from the server that I have those services from within another PC on the LAN?
â MosEisley34
Mar 8 at 17:07
I would run the wireshark equivalent of this (change interface name to whatever yours is)sudo tcpdump -n -tttt -i enp4s0 port 80
on the same server that is hosting your Apache WebServer.
â Doug Smythies
Mar 8 at 17:28
 |Â
show 3 more comments
Can you connect locally?
â Ken Sharp
Mar 8 at 16:39
Sure. I can access ruTorrent (which is hosted using Apache) and download all kinds of torrents successfully (rTorrent), but "port is closed" message is always there. So I guess my connectivity to the swarm isn't that great.
â MosEisley34
Mar 8 at 16:45
1
Suggest using tcpdump (or wireshark, if you prefer) to observe if packets are even arriving at your server. Note also that some ISPs block port 80.
â Doug Smythies
Mar 8 at 16:51
Nice suggestion. I'll install WireShark. So, I have to monitor the LAN IP:port from the server that I have those services from within another PC on the LAN?
â MosEisley34
Mar 8 at 17:07
I would run the wireshark equivalent of this (change interface name to whatever yours is)sudo tcpdump -n -tttt -i enp4s0 port 80
on the same server that is hosting your Apache WebServer.
â Doug Smythies
Mar 8 at 17:28
Can you connect locally?
â Ken Sharp
Mar 8 at 16:39
Can you connect locally?
â Ken Sharp
Mar 8 at 16:39
Sure. I can access ruTorrent (which is hosted using Apache) and download all kinds of torrents successfully (rTorrent), but "port is closed" message is always there. So I guess my connectivity to the swarm isn't that great.
â MosEisley34
Mar 8 at 16:45
Sure. I can access ruTorrent (which is hosted using Apache) and download all kinds of torrents successfully (rTorrent), but "port is closed" message is always there. So I guess my connectivity to the swarm isn't that great.
â MosEisley34
Mar 8 at 16:45
1
1
Suggest using tcpdump (or wireshark, if you prefer) to observe if packets are even arriving at your server. Note also that some ISPs block port 80.
â Doug Smythies
Mar 8 at 16:51
Suggest using tcpdump (or wireshark, if you prefer) to observe if packets are even arriving at your server. Note also that some ISPs block port 80.
â Doug Smythies
Mar 8 at 16:51
Nice suggestion. I'll install WireShark. So, I have to monitor the LAN IP:port from the server that I have those services from within another PC on the LAN?
â MosEisley34
Mar 8 at 17:07
Nice suggestion. I'll install WireShark. So, I have to monitor the LAN IP:port from the server that I have those services from within another PC on the LAN?
â MosEisley34
Mar 8 at 17:07
I would run the wireshark equivalent of this (change interface name to whatever yours is)
sudo tcpdump -n -tttt -i enp4s0 port 80
on the same server that is hosting your Apache WebServer.â Doug Smythies
Mar 8 at 17:28
I would run the wireshark equivalent of this (change interface name to whatever yours is)
sudo tcpdump -n -tttt -i enp4s0 port 80
on the same server that is hosting your Apache WebServer.â Doug Smythies
Mar 8 at 17:28
 |Â
show 3 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013146%2fhow-can-i-configure-port-forwarding-properly%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you connect locally?
â Ken Sharp
Mar 8 at 16:39
Sure. I can access ruTorrent (which is hosted using Apache) and download all kinds of torrents successfully (rTorrent), but "port is closed" message is always there. So I guess my connectivity to the swarm isn't that great.
â MosEisley34
Mar 8 at 16:45
1
Suggest using tcpdump (or wireshark, if you prefer) to observe if packets are even arriving at your server. Note also that some ISPs block port 80.
â Doug Smythies
Mar 8 at 16:51
Nice suggestion. I'll install WireShark. So, I have to monitor the LAN IP:port from the server that I have those services from within another PC on the LAN?
â MosEisley34
Mar 8 at 17:07
I would run the wireshark equivalent of this (change interface name to whatever yours is)
sudo tcpdump -n -tttt -i enp4s0 port 80
on the same server that is hosting your Apache WebServer.â Doug Smythies
Mar 8 at 17:28