Please how to open some ports for connections on CentOS linux?

I need to open 8887 & 8888 ports for outbound connections on Centos server. Server has IPtables running.