Remove port from network service

NethServer Version: 7.6.1810

How to remove a port from network services?
I have a multi-port service and I need to remove only one. I also need to remove a service from network services that no longer exists.

Set the TCPPorts without the port you want to remove:

config setprop myservice TCPPorts 80,443

Uninstall the RPM including the nethserver-module, for example:

yum remove nethserver-postgresql postgresql-server

Docs:

http://docs.nethserver.org/projects/nethserver-devel/en/latest/services.html
http://docs.nethserver.org/projects/nethserver-devel/en/latest/databases.html

3 Likes

Thanks, it’s work

1 Like

Great! Can you mark the topic as solved by choosing the most helpful answer?

1 Like