ADD port 5519

General support questions
Post Reply
phk
Posts: 1
Joined: 2020/09/16 10:44:03

ADD port 5519

Post by phk » 2020/09/16 10:52:19

Hi,

Tried to add port a port 5519 on my cent os 7 for the bidirectional communication from my server

After adding port 5519 from the below command also.. when i check the status is not showing #netstat -na |grep 5519
# vi /etc/services
service-name port/protocol [aliases ...] [# comment]

Note: Firewalld service is not running also

What can be done here... Any suggestion ple ?

Thank you

User avatar
TrevorH
Forum Moderator
Posts: 29407
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: ADD port 5519

Post by TrevorH » 2020/09/16 15:51:32

/etc/services has nothing to do with actually running or permitting services. It just serves as a way for various commands to translate a port number to a name so they can display things like localhost:smtp rather than 127.0.0.1:25.

So you need to have an application that is running and is listening on something that is not 127.0.0.1 on the correct port. Then you need to open your local firewall to allow that port. You may also need to tell selinux that your app is allowed to use that port (man semanage-port).
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”