Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Port Scanner (JavaFX)

A simple Port Scanner desktop application built using Java and JavaFX.
The application allows the user to scan common TCP ports on a target IP address and display whether each port is OPEN or CLOSED.


📌 Project Idea

The idea of this project is to demonstrate the Client/Server networking concept.
The scanner (client) attempts to connect to specific ports on a remote host (server).
If the connection succeeds, the port is considered open; otherwise, it is closed.

This project focuses on:

  • Understanding TCP socket connections
  • Client-side networking
  • Multithreading in Java
  • GUI development using JavaFX

🛠 Technologies Used

  • Java (JDK 21 / 25)
  • JavaFX
  • FXML
  • Sockets (java.net.Socket)
  • IntelliJ IDEA

🎯 Features

  • Simple and clean GUI
  • Input field to enter target IP address
  • Scan common ports (21, 22, 80, 443, 3389)
  • Displays scan results in real-time
  • Uses multithreading to avoid freezing the GUI

🖥 GUI Preview

  • TextField for IP address
  • Scan button
  • Output area showing port status

⚙ How It Works

  1. User enters an IP address.
  2. The application tries to create a TCP socket connection for each port.
  3. If the connection succeeds → Port is OPEN
  4. If it fails → Port is CLOSED
  5. Results are displayed in the output area.

🚀 How to Run

  1. Make sure JavaFX SDK is installed.
  2. Open the project in IntelliJ IDEA.
  3. Add JavaFX VM options:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages