How to close some port/ip combo

nc: bind: Address already in useJava.lang.Exception: nc: bind : Address already in useat com.zimperium.zanti.ZHhttpInjector.n.run(ZHttpInjectorService.java.130)


so so then I tried closing some using the terminal but then I get really lost, does anyone know how to close a certain application port using terminal? 


thanks in advanced

Linux? You'll want to use netstat -lnp4 to see what is listening on that address/port, and then kill that process.

How do i turn one off?