see if the case is 10.0.0.0 just for example how can i find its port number need immediate reply

Thanks In Advance

Try netstat command followed by usage of some filter like grep.

If it's a remote IP and you are looking for its open ports... use nmap

something like: nmap -p 1-65535 -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 10.0.0.0

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.