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.
suse telnet
add a comment |
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.
suse telnet
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 followingtelnet soldb 30015
ornc -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
add a comment |
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.
suse telnet
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.
suse telnet
suse telnet
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 followingtelnet soldb 30015
ornc -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
add a comment |
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 followingtelnet soldb 30015
ornc -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
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
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.
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.
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%2f310007%2fport-not-responding-to-telnet%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
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
ornc -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