Port not responding to telnet











up vote
0
down vote

favorite












I am wondering is the port correctly setup in my Suse linux if it is showing this?
I need to access port 30015 from another host, but at present it is able to ping the host but not able to connect to the port.
enter image description here



enter image description here



enter image description here










share|improve this question
























  • 21229 pts/0 S+ 0:00 grep 30015 That is the output
    – JackyBoi
    Sep 15 '16 at 7:44










  • Actually the port is not for FTP purposes, it is a required port by an application that I am installing on windows server and I installed the database on suse.
    – JackyBoi
    Sep 15 '16 at 8:39










  • Login to soldb and do either of the following telnet soldb 30015 or nc -v soldb 30015
    – Zama Ques
    Sep 15 '16 at 9:10










  • Also this netstat -tlnp | grep 30015
    – Zama Ques
    Sep 15 '16 at 9:10















up vote
0
down vote

favorite












I am wondering is the port correctly setup in my Suse linux if it is showing this?
I need to access port 30015 from another host, but at present it is able to ping the host but not able to connect to the port.
enter image description here



enter image description here



enter image description here










share|improve this question
























  • 21229 pts/0 S+ 0:00 grep 30015 That is the output
    – JackyBoi
    Sep 15 '16 at 7:44










  • Actually the port is not for FTP purposes, it is a required port by an application that I am installing on windows server and I installed the database on suse.
    – JackyBoi
    Sep 15 '16 at 8:39










  • Login to soldb and do either of the following telnet soldb 30015 or nc -v soldb 30015
    – Zama Ques
    Sep 15 '16 at 9:10










  • Also this netstat -tlnp | grep 30015
    – Zama Ques
    Sep 15 '16 at 9:10













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am wondering is the port correctly setup in my Suse linux if it is showing this?
I need to access port 30015 from another host, but at present it is able to ping the host but not able to connect to the port.
enter image description here



enter image description here



enter image description here










share|improve this question















I am wondering is the port correctly setup in my Suse linux if it is showing this?
I need to access port 30015 from another host, but at present it is able to ping the host but not able to connect to the port.
enter image description here



enter image description here



enter image description here







suse telnet






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 20:10









Rui F Ribeiro

38.3k1476127




38.3k1476127










asked Sep 15 '16 at 5:31









JackyBoi

11517




11517












  • 21229 pts/0 S+ 0:00 grep 30015 That is the output
    – JackyBoi
    Sep 15 '16 at 7:44










  • Actually the port is not for FTP purposes, it is a required port by an application that I am installing on windows server and I installed the database on suse.
    – JackyBoi
    Sep 15 '16 at 8:39










  • Login to soldb and do either of the following telnet soldb 30015 or nc -v soldb 30015
    – Zama Ques
    Sep 15 '16 at 9:10










  • Also this netstat -tlnp | grep 30015
    – Zama Ques
    Sep 15 '16 at 9:10


















  • 21229 pts/0 S+ 0:00 grep 30015 That is the output
    – JackyBoi
    Sep 15 '16 at 7:44










  • Actually the port is not for FTP purposes, it is a required port by an application that I am installing on windows server and I installed the database on suse.
    – JackyBoi
    Sep 15 '16 at 8:39










  • Login to soldb and do either of the following telnet soldb 30015 or nc -v soldb 30015
    – Zama Ques
    Sep 15 '16 at 9:10










  • Also this netstat -tlnp | grep 30015
    – Zama Ques
    Sep 15 '16 at 9:10
















21229 pts/0 S+ 0:00 grep 30015 That is the output
– JackyBoi
Sep 15 '16 at 7:44




21229 pts/0 S+ 0:00 grep 30015 That is the output
– JackyBoi
Sep 15 '16 at 7:44












Actually the port is not for FTP purposes, it is a required port by an application that I am installing on windows server and I installed the database on suse.
– JackyBoi
Sep 15 '16 at 8:39




Actually the port is not for FTP purposes, it is a required port by an application that I am installing on windows server and I installed the database on suse.
– JackyBoi
Sep 15 '16 at 8:39












Login to soldb and do either of the following telnet soldb 30015 or nc -v soldb 30015
– Zama Ques
Sep 15 '16 at 9:10




Login to soldb and do either of the following telnet soldb 30015 or nc -v soldb 30015
– Zama Ques
Sep 15 '16 at 9:10












Also this netstat -tlnp | grep 30015
– Zama Ques
Sep 15 '16 at 9:10




Also this netstat -tlnp | grep 30015
– Zama Ques
Sep 15 '16 at 9:10










1 Answer
1






active

oldest

votes

















up vote
2
down vote













From the netstat screenshot you shared , it seems Port 30015 is listening in TCP mode. Now to check the connectivity , you can use telnet or nc command



    telnet  <hostname>  30015 
or
nc -v <hostname> 30015


For example , I am checking for Port 22



     nc -v localhost 22
Connection to localhost 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_5.3


If you are getting "Connection refused" message , check for firewall on destination server.



You can use below command to check firewall rules



       iptables -L -n (as root)


If iptables is blocking the connection , disable iptables using below command or add new rules to allow SSH



Disabling Iptables



  service iptables stop ; chkconfig iptables off


Adding rules to allow SSH



 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT


Hope it helps






share|improve this answer





















  • It is worth noting that OpenSuse has a firewall/iptables frontend. If it is enabled, iptables should not be used directly for modifying rules as the firewall will overwrite changes.
    – Paul Nordin
    Sep 15 '16 at 6:28












  • When i telnet from the windows, I am unable to .. please see my original question updated with more screenshots.
    – JackyBoi
    Sep 15 '16 at 8:27










  • I just replied as comments to your original description
    – Zama Ques
    Sep 15 '16 at 9:18











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f310007%2fport-not-responding-to-telnet%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








up vote
2
down vote













From the netstat screenshot you shared , it seems Port 30015 is listening in TCP mode. Now to check the connectivity , you can use telnet or nc command



    telnet  <hostname>  30015 
or
nc -v <hostname> 30015


For example , I am checking for Port 22



     nc -v localhost 22
Connection to localhost 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_5.3


If you are getting "Connection refused" message , check for firewall on destination server.



You can use below command to check firewall rules



       iptables -L -n (as root)


If iptables is blocking the connection , disable iptables using below command or add new rules to allow SSH



Disabling Iptables



  service iptables stop ; chkconfig iptables off


Adding rules to allow SSH



 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT


Hope it helps






share|improve this answer





















  • It is worth noting that OpenSuse has a firewall/iptables frontend. If it is enabled, iptables should not be used directly for modifying rules as the firewall will overwrite changes.
    – Paul Nordin
    Sep 15 '16 at 6:28












  • When i telnet from the windows, I am unable to .. please see my original question updated with more screenshots.
    – JackyBoi
    Sep 15 '16 at 8:27










  • I just replied as comments to your original description
    – Zama Ques
    Sep 15 '16 at 9:18















up vote
2
down vote













From the netstat screenshot you shared , it seems Port 30015 is listening in TCP mode. Now to check the connectivity , you can use telnet or nc command



    telnet  <hostname>  30015 
or
nc -v <hostname> 30015


For example , I am checking for Port 22



     nc -v localhost 22
Connection to localhost 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_5.3


If you are getting "Connection refused" message , check for firewall on destination server.



You can use below command to check firewall rules



       iptables -L -n (as root)


If iptables is blocking the connection , disable iptables using below command or add new rules to allow SSH



Disabling Iptables



  service iptables stop ; chkconfig iptables off


Adding rules to allow SSH



 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT


Hope it helps






share|improve this answer





















  • It is worth noting that OpenSuse has a firewall/iptables frontend. If it is enabled, iptables should not be used directly for modifying rules as the firewall will overwrite changes.
    – Paul Nordin
    Sep 15 '16 at 6:28












  • When i telnet from the windows, I am unable to .. please see my original question updated with more screenshots.
    – JackyBoi
    Sep 15 '16 at 8:27










  • I just replied as comments to your original description
    – Zama Ques
    Sep 15 '16 at 9:18













up vote
2
down vote










up vote
2
down vote









From the netstat screenshot you shared , it seems Port 30015 is listening in TCP mode. Now to check the connectivity , you can use telnet or nc command



    telnet  <hostname>  30015 
or
nc -v <hostname> 30015


For example , I am checking for Port 22



     nc -v localhost 22
Connection to localhost 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_5.3


If you are getting "Connection refused" message , check for firewall on destination server.



You can use below command to check firewall rules



       iptables -L -n (as root)


If iptables is blocking the connection , disable iptables using below command or add new rules to allow SSH



Disabling Iptables



  service iptables stop ; chkconfig iptables off


Adding rules to allow SSH



 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT


Hope it helps






share|improve this answer












From the netstat screenshot you shared , it seems Port 30015 is listening in TCP mode. Now to check the connectivity , you can use telnet or nc command



    telnet  <hostname>  30015 
or
nc -v <hostname> 30015


For example , I am checking for Port 22



     nc -v localhost 22
Connection to localhost 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_5.3


If you are getting "Connection refused" message , check for firewall on destination server.



You can use below command to check firewall rules



       iptables -L -n (as root)


If iptables is blocking the connection , disable iptables using below command or add new rules to allow SSH



Disabling Iptables



  service iptables stop ; chkconfig iptables off


Adding rules to allow SSH



 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT


Hope it helps







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 15 '16 at 6:09









Zama Ques

89772642




89772642












  • It is worth noting that OpenSuse has a firewall/iptables frontend. If it is enabled, iptables should not be used directly for modifying rules as the firewall will overwrite changes.
    – Paul Nordin
    Sep 15 '16 at 6:28












  • When i telnet from the windows, I am unable to .. please see my original question updated with more screenshots.
    – JackyBoi
    Sep 15 '16 at 8:27










  • I just replied as comments to your original description
    – Zama Ques
    Sep 15 '16 at 9:18


















  • It is worth noting that OpenSuse has a firewall/iptables frontend. If it is enabled, iptables should not be used directly for modifying rules as the firewall will overwrite changes.
    – Paul Nordin
    Sep 15 '16 at 6:28












  • When i telnet from the windows, I am unable to .. please see my original question updated with more screenshots.
    – JackyBoi
    Sep 15 '16 at 8:27










  • I just replied as comments to your original description
    – Zama Ques
    Sep 15 '16 at 9:18
















It is worth noting that OpenSuse has a firewall/iptables frontend. If it is enabled, iptables should not be used directly for modifying rules as the firewall will overwrite changes.
– Paul Nordin
Sep 15 '16 at 6:28






It is worth noting that OpenSuse has a firewall/iptables frontend. If it is enabled, iptables should not be used directly for modifying rules as the firewall will overwrite changes.
– Paul Nordin
Sep 15 '16 at 6:28














When i telnet from the windows, I am unable to .. please see my original question updated with more screenshots.
– JackyBoi
Sep 15 '16 at 8:27




When i telnet from the windows, I am unable to .. please see my original question updated with more screenshots.
– JackyBoi
Sep 15 '16 at 8:27












I just replied as comments to your original description
– Zama Ques
Sep 15 '16 at 9:18




I just replied as comments to your original description
– Zama Ques
Sep 15 '16 at 9:18


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f310007%2fport-not-responding-to-telnet%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre