0

Port tcp/23456 already defined

I tried to add the port for the tcp connection but it says the following error.

  # semanage port -a -t http_port_t -p tcp 23456
  /usr/sbin/semanage: Port tcp/23456 already defined

How to get rid of that error???

liam
asked Apr 17, 2017
1 Answer
0

At first you need to check that port where it is assigned. Delete that port and retry.

For example, If 23456 is assigned to ssh then do the below command,

# semanage port -d -t ssh_port_t -p tcp 23456

And then follow your command

View More
jagannatharumugam
answered Apr 18, 2017
Your Answer
||||
x
 
100:0