CorentinTh / it-tools

Collection of handy online tools for developers, with great UX.
https://it-tools.tech
GNU General Public License v3.0
22.69k stars 2.74k forks source link

Port Checker #1275

Open artyPD opened 2 months ago

artyPD commented 2 months ago

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

A tool to find out what ports are open for a specified host (IP or domain or FQDN).

Is their example of this tool in the wild?

Port Checker

image image

Additional context

Validations

Existing request

A quick search through the issues showed no previous request matching this.

Client side only

I assume this feature would work since the client would be able to connect to the specified host.

Validations

sharevb commented 2 months ago

Hi @artyPD, this is and will never be possible on client side (in browser). This require a server side or a real terminal. So not possible in this project

artyPD commented 2 months ago

Hi @sharevb,

Why is that? Is it not possible for the client to make requests to local or remote hosts in the browser?

sharevb commented 2 months ago

Hi @artyPD, javascript ran in browser can only make HTTP(s) requests and due to CORS, to only allowed targets ; or websocket. It cannot ping (ICMP) or connect to any random. Else imagine what hackers could do with anybodies computers.