Debian: Cannot access opened port in US from EU
Clash Royale CLAN TAG#URR8PPP
On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.
I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2
Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).
tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no
Does anybody have an idea what can I do?
debian socket
add a comment |
On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.
I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2
Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).
tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no
Does anybody have an idea what can I do?
debian socket
3
You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.
– Kusalananda
Feb 16 at 19:04
@Kusalananda Thx for the tip, I'll check with my service provider.
– Boy
Feb 16 at 19:05
1
I would probably start by runningnmap
against the target system.
– Kusalananda
Feb 16 at 19:07
add a comment |
On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.
I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2
Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).
tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no
Does anybody have an idea what can I do?
debian socket
On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.
I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2
Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).
tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no
Does anybody have an idea what can I do?
debian socket
debian socket
edited Feb 16 at 20:01
Boy
asked Feb 16 at 18:02
BoyBoy
1287
1287
3
You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.
– Kusalananda
Feb 16 at 19:04
@Kusalananda Thx for the tip, I'll check with my service provider.
– Boy
Feb 16 at 19:05
1
I would probably start by runningnmap
against the target system.
– Kusalananda
Feb 16 at 19:07
add a comment |
3
You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.
– Kusalananda
Feb 16 at 19:04
@Kusalananda Thx for the tip, I'll check with my service provider.
– Boy
Feb 16 at 19:05
1
I would probably start by runningnmap
against the target system.
– Kusalananda
Feb 16 at 19:07
3
3
You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.
– Kusalananda
Feb 16 at 19:04
You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.
– Kusalananda
Feb 16 at 19:04
@Kusalananda Thx for the tip, I'll check with my service provider.
– Boy
Feb 16 at 19:05
@Kusalananda Thx for the tip, I'll check with my service provider.
– Boy
Feb 16 at 19:05
1
1
I would probably start by running
nmap
against the target system.– Kusalananda
Feb 16 at 19:07
I would probably start by running
nmap
against the target system.– Kusalananda
Feb 16 at 19:07
add a comment |
1 Answer
1
active
oldest
votes
As suggested in the comments, I checked with nmap
:
nmap -p 18000 MY_SERVER_IP
and got:
STATE:
filtered
So I asked for control panel access and noticed that there is Firewall Policies
of which I (because I'm inexperienced) wasn't aware of.
Problem solved. Thank you.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501073%2fdebian-cannot-access-opened-port-in-us-from-eu%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As suggested in the comments, I checked with nmap
:
nmap -p 18000 MY_SERVER_IP
and got:
STATE:
filtered
So I asked for control panel access and noticed that there is Firewall Policies
of which I (because I'm inexperienced) wasn't aware of.
Problem solved. Thank you.
add a comment |
As suggested in the comments, I checked with nmap
:
nmap -p 18000 MY_SERVER_IP
and got:
STATE:
filtered
So I asked for control panel access and noticed that there is Firewall Policies
of which I (because I'm inexperienced) wasn't aware of.
Problem solved. Thank you.
add a comment |
As suggested in the comments, I checked with nmap
:
nmap -p 18000 MY_SERVER_IP
and got:
STATE:
filtered
So I asked for control panel access and noticed that there is Firewall Policies
of which I (because I'm inexperienced) wasn't aware of.
Problem solved. Thank you.
As suggested in the comments, I checked with nmap
:
nmap -p 18000 MY_SERVER_IP
and got:
STATE:
filtered
So I asked for control panel access and noticed that there is Firewall Policies
of which I (because I'm inexperienced) wasn't aware of.
Problem solved. Thank you.
edited Feb 16 at 20:08
answered Feb 16 at 20:02
BoyBoy
1287
1287
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501073%2fdebian-cannot-access-opened-port-in-us-from-eu%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.
– Kusalananda
Feb 16 at 19:04
@Kusalananda Thx for the tip, I'll check with my service provider.
– Boy
Feb 16 at 19:05
1
I would probably start by running
nmap
against the target system.– Kusalananda
Feb 16 at 19:07