Open port 4000 for Trader Workstation in Fedora
I have installed Trader WorkStation by Interactive Brokers. However, the program does not run, with assistance from support I found that the firewall is the problem.
The servers (several primary and backup servers) listen on port 4000 and 4001 (in case of SSL connection). The site recommends the following command for testing:
telnet zdc1.ibllc.com 4000
If I try to run that, I get
Trying 217.192.86.32...
telnet: connect to address 217.192.86.32: Connection timed out
I already tried to activate the port:
$ firewall-cmd --list-ports
1025-65535/udp 1025-65535/tcp
$ firewall-cmd --zone=public --add-port=4000/tcp --permanent
success
$ firewall-cmd --reload
success
The testing is still negative. Connection timed out.
How can I open the port? It would be ideal to restrict the access only to a few servers that are mentioned on the site. I have Fedora 27. Thank you.
fedora firewall port
add a comment |
I have installed Trader WorkStation by Interactive Brokers. However, the program does not run, with assistance from support I found that the firewall is the problem.
The servers (several primary and backup servers) listen on port 4000 and 4001 (in case of SSL connection). The site recommends the following command for testing:
telnet zdc1.ibllc.com 4000
If I try to run that, I get
Trying 217.192.86.32...
telnet: connect to address 217.192.86.32: Connection timed out
I already tried to activate the port:
$ firewall-cmd --list-ports
1025-65535/udp 1025-65535/tcp
$ firewall-cmd --zone=public --add-port=4000/tcp --permanent
success
$ firewall-cmd --reload
success
The testing is still negative. Connection timed out.
How can I open the port? It would be ideal to restrict the access only to a few servers that are mentioned on the site. I have Fedora 27. Thank you.
fedora firewall port
add a comment |
I have installed Trader WorkStation by Interactive Brokers. However, the program does not run, with assistance from support I found that the firewall is the problem.
The servers (several primary and backup servers) listen on port 4000 and 4001 (in case of SSL connection). The site recommends the following command for testing:
telnet zdc1.ibllc.com 4000
If I try to run that, I get
Trying 217.192.86.32...
telnet: connect to address 217.192.86.32: Connection timed out
I already tried to activate the port:
$ firewall-cmd --list-ports
1025-65535/udp 1025-65535/tcp
$ firewall-cmd --zone=public --add-port=4000/tcp --permanent
success
$ firewall-cmd --reload
success
The testing is still negative. Connection timed out.
How can I open the port? It would be ideal to restrict the access only to a few servers that are mentioned on the site. I have Fedora 27. Thank you.
fedora firewall port
I have installed Trader WorkStation by Interactive Brokers. However, the program does not run, with assistance from support I found that the firewall is the problem.
The servers (several primary and backup servers) listen on port 4000 and 4001 (in case of SSL connection). The site recommends the following command for testing:
telnet zdc1.ibllc.com 4000
If I try to run that, I get
Trying 217.192.86.32...
telnet: connect to address 217.192.86.32: Connection timed out
I already tried to activate the port:
$ firewall-cmd --list-ports
1025-65535/udp 1025-65535/tcp
$ firewall-cmd --zone=public --add-port=4000/tcp --permanent
success
$ firewall-cmd --reload
success
The testing is still negative. Connection timed out.
How can I open the port? It would be ideal to restrict the access only to a few servers that are mentioned on the site. I have Fedora 27. Thank you.
fedora firewall port
fedora firewall port
edited 2 hours ago
neydek
asked 3 hours ago
neydekneydek
73
73
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I don't use Fedora, but according to the documentation:
List all open ports for a zone, for example dmz, by entering the
following command as root:
# firewall-cmd --zone=dmz --list-ports
To add a port to a zone, for example to allow TCP traffic to port 8080
to the dmz zone, enter the following command as root:
# firewall-cmd --zone=dmz --add-port=8080/tcp
To make this setting permanent, add the --permanent option and reload
the firewall. To add a range of ports to a zone, for example to allow
the ports from 5060 to 5061 to the public zone, enter the following
command as root:
# firewall-cmd --zone=public --add-port=5060-5061/udp
To make this setting permanent, add the --permanent option and
reload the firewall.
That should be a good first pass on getting IB to work. For what it's worth, this was the first search result for "fedora open ports".
I already tried this but with no results.$ firewall-cmd --list-ports 1025-65535/udp 1025-65535/tcp
– neydek
2 hours ago
@neydek That (and anything else you've tried) should be included in your original question then.
– Michael A
2 hours ago
Thanks, added it to the question.
– neydek
2 hours ago
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%2f494940%2fopen-port-4000-for-trader-workstation-in-fedora%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
I don't use Fedora, but according to the documentation:
List all open ports for a zone, for example dmz, by entering the
following command as root:
# firewall-cmd --zone=dmz --list-ports
To add a port to a zone, for example to allow TCP traffic to port 8080
to the dmz zone, enter the following command as root:
# firewall-cmd --zone=dmz --add-port=8080/tcp
To make this setting permanent, add the --permanent option and reload
the firewall. To add a range of ports to a zone, for example to allow
the ports from 5060 to 5061 to the public zone, enter the following
command as root:
# firewall-cmd --zone=public --add-port=5060-5061/udp
To make this setting permanent, add the --permanent option and
reload the firewall.
That should be a good first pass on getting IB to work. For what it's worth, this was the first search result for "fedora open ports".
I already tried this but with no results.$ firewall-cmd --list-ports 1025-65535/udp 1025-65535/tcp
– neydek
2 hours ago
@neydek That (and anything else you've tried) should be included in your original question then.
– Michael A
2 hours ago
Thanks, added it to the question.
– neydek
2 hours ago
add a comment |
I don't use Fedora, but according to the documentation:
List all open ports for a zone, for example dmz, by entering the
following command as root:
# firewall-cmd --zone=dmz --list-ports
To add a port to a zone, for example to allow TCP traffic to port 8080
to the dmz zone, enter the following command as root:
# firewall-cmd --zone=dmz --add-port=8080/tcp
To make this setting permanent, add the --permanent option and reload
the firewall. To add a range of ports to a zone, for example to allow
the ports from 5060 to 5061 to the public zone, enter the following
command as root:
# firewall-cmd --zone=public --add-port=5060-5061/udp
To make this setting permanent, add the --permanent option and
reload the firewall.
That should be a good first pass on getting IB to work. For what it's worth, this was the first search result for "fedora open ports".
I already tried this but with no results.$ firewall-cmd --list-ports 1025-65535/udp 1025-65535/tcp
– neydek
2 hours ago
@neydek That (and anything else you've tried) should be included in your original question then.
– Michael A
2 hours ago
Thanks, added it to the question.
– neydek
2 hours ago
add a comment |
I don't use Fedora, but according to the documentation:
List all open ports for a zone, for example dmz, by entering the
following command as root:
# firewall-cmd --zone=dmz --list-ports
To add a port to a zone, for example to allow TCP traffic to port 8080
to the dmz zone, enter the following command as root:
# firewall-cmd --zone=dmz --add-port=8080/tcp
To make this setting permanent, add the --permanent option and reload
the firewall. To add a range of ports to a zone, for example to allow
the ports from 5060 to 5061 to the public zone, enter the following
command as root:
# firewall-cmd --zone=public --add-port=5060-5061/udp
To make this setting permanent, add the --permanent option and
reload the firewall.
That should be a good first pass on getting IB to work. For what it's worth, this was the first search result for "fedora open ports".
I don't use Fedora, but according to the documentation:
List all open ports for a zone, for example dmz, by entering the
following command as root:
# firewall-cmd --zone=dmz --list-ports
To add a port to a zone, for example to allow TCP traffic to port 8080
to the dmz zone, enter the following command as root:
# firewall-cmd --zone=dmz --add-port=8080/tcp
To make this setting permanent, add the --permanent option and reload
the firewall. To add a range of ports to a zone, for example to allow
the ports from 5060 to 5061 to the public zone, enter the following
command as root:
# firewall-cmd --zone=public --add-port=5060-5061/udp
To make this setting permanent, add the --permanent option and
reload the firewall.
That should be a good first pass on getting IB to work. For what it's worth, this was the first search result for "fedora open ports".
answered 2 hours ago
Michael AMichael A
4492822
4492822
I already tried this but with no results.$ firewall-cmd --list-ports 1025-65535/udp 1025-65535/tcp
– neydek
2 hours ago
@neydek That (and anything else you've tried) should be included in your original question then.
– Michael A
2 hours ago
Thanks, added it to the question.
– neydek
2 hours ago
add a comment |
I already tried this but with no results.$ firewall-cmd --list-ports 1025-65535/udp 1025-65535/tcp
– neydek
2 hours ago
@neydek That (and anything else you've tried) should be included in your original question then.
– Michael A
2 hours ago
Thanks, added it to the question.
– neydek
2 hours ago
I already tried this but with no results.
$ firewall-cmd --list-ports 1025-65535/udp 1025-65535/tcp– neydek
2 hours ago
I already tried this but with no results.
$ firewall-cmd --list-ports 1025-65535/udp 1025-65535/tcp– neydek
2 hours ago
@neydek That (and anything else you've tried) should be included in your original question then.
– Michael A
2 hours ago
@neydek That (and anything else you've tried) should be included in your original question then.
– Michael A
2 hours ago
Thanks, added it to the question.
– neydek
2 hours ago
Thanks, added it to the question.
– neydek
2 hours ago
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%2f494940%2fopen-port-4000-for-trader-workstation-in-fedora%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