nmap or ping a url with embedded port number?

HenryHub

Is it possible to use nmap to ping like a url with an embedded port number? .

How would I ping this? http://openleadr.org:8911/OpenADR2/Simple/2.0b?

I think nmap -p 8911 openleadr.org would work but doesn't it leave off the remaining URL? /OpenADR2/Simple/2.0b

Would it also make a difference if the site was https?

jvda

I think you are mixing up a few things here. A ping test works using ICMP and will therefore only check network-layer connectivity.

nmap -p will simply check whether there is some process listening on that port. Therefore it checks transport-layer end-to-end connectivity.

What you seem to be trying to achieve is to check if there is a process responding with HTTP traffic, right? If that is all you want to do, then you could simply consider to create a HTTP (or HTTPS) request using curl. Depending on what you are trying to inspect about that HTTP endpoint you could parse specific information from the response. For example, although curl may return an HTTP response, this does not mean that the remote host considers the request successfull. To determine that, you would need to check the response code or body.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Remove port number in image url?

From Dev

Redirect traffic to a domain with a port number without showing the port number in the URL

From Dev

Using nmap to traceroute on a specific port

From Dev

Nmap check if port is open in bash

From Dev

Nginx remove port number :8080 in the url

From Dev

forward the domain and remove the port number from the URL

From Dev

HTTPS url with port number not working on iOS

From Dev

Validate URL with valid port number and query string

From Dev

Port number getting stripped out of URL

From Dev

Get URL and port number from view

From Dev

Regex optionally match port number in url

From Dev

Nginx remove port number :8080 in the url

From Dev

Android - Forming an URL object specifying a port number

From Dev

How to connect url with port number in java with Jsoup?

From Dev

Why would ping succeed but nmap fail?

From Dev

Ping using different port

From Dev

PHP ping IP:Port

From Dev

Is it possible to ping an address:port?

From Dev

The speed of port scan using nmap -sS and nmap -sT?

From Dev

nmap skip port scan but execute --script?

From Dev

grep IP adress with open port nmap

From Dev

Postfix and open port 25 but this port is not showed open with nmap

From Dev

After opening port with ufw, nmap output shows port as closed

From Dev

PHP Guzzle 5: Cannot handle URL with PORT number in it

From Dev

How to remove the :port number from the end of an IIS URL?

From Dev

Laravel: URL::to('/') port number for localhost not included in db seed files

From Dev

How to get Base URL with port number in codeigniter 3.0.3

From Dev

How to get the port number from the URL using jQuery?

From Dev

Can URL contain colons to represent a value other than port number

Related Related

  1. 1

    Remove port number in image url?

  2. 2

    Redirect traffic to a domain with a port number without showing the port number in the URL

  3. 3

    Using nmap to traceroute on a specific port

  4. 4

    Nmap check if port is open in bash

  5. 5

    Nginx remove port number :8080 in the url

  6. 6

    forward the domain and remove the port number from the URL

  7. 7

    HTTPS url with port number not working on iOS

  8. 8

    Validate URL with valid port number and query string

  9. 9

    Port number getting stripped out of URL

  10. 10

    Get URL and port number from view

  11. 11

    Regex optionally match port number in url

  12. 12

    Nginx remove port number :8080 in the url

  13. 13

    Android - Forming an URL object specifying a port number

  14. 14

    How to connect url with port number in java with Jsoup?

  15. 15

    Why would ping succeed but nmap fail?

  16. 16

    Ping using different port

  17. 17

    PHP ping IP:Port

  18. 18

    Is it possible to ping an address:port?

  19. 19

    The speed of port scan using nmap -sS and nmap -sT?

  20. 20

    nmap skip port scan but execute --script?

  21. 21

    grep IP adress with open port nmap

  22. 22

    Postfix and open port 25 but this port is not showed open with nmap

  23. 23

    After opening port with ufw, nmap output shows port as closed

  24. 24

    PHP Guzzle 5: Cannot handle URL with PORT number in it

  25. 25

    How to remove the :port number from the end of an IIS URL?

  26. 26

    Laravel: URL::to('/') port number for localhost not included in db seed files

  27. 27

    How to get Base URL with port number in codeigniter 3.0.3

  28. 28

    How to get the port number from the URL using jQuery?

  29. 29

    Can URL contain colons to represent a value other than port number

HotTag

Archive