# Scan for servers

**URL:** <https://discourse.processing.org/t/scan-for-servers/21814>\
**Category:** Libraries\
**Created:** [June 12, 2020, 6:05pm UTC](https://discourse.processing.org/t/scan-for-servers/21814 "2020-06-12T18:05:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 12, 2020, 10:11pm UTC](https://discourse.processing.org/t/scan-for-servers/21814/4 "2020-06-12T22:11:27Z")

</div>

Hello,

I branched off on a tangent with my answer and it only finds reachable IP’s.  
I don’t have an answer for ports at this time and would have to seek one.

Back to work and busy these days…

Keep looking!

And I am back already!

I did find this:

> <https://stackoverflow.com/questions/11547082/fastest-way-to-scan-ports-with-java>

And so far got this and it did detect an active server port:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/0e2b1eae6d02fb39ea324b1ebdf4e7c01f8966f6.png)  
I got a “false” if I looked for a port “12347” that was not active.

Using the server example:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/6279cc213ab718687ffca1d2126000f830ae2dbb.png)

I may explore this more later…  
It is my first time exploring this also.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/scan-for-servers/21814)._
