0

Is it possible to get the port number a page is connected to via developer tools tab in browsers?

I looked under the "Network" tab but it did not seem to help.

enter image description here

1 Answer 1

3

I'm presuming you mean the port on the server. This is decided by the protocol:

http: port 80

https: port 443

Servers can infact serve pages on any port they wish, can you can specify to connect to a different port, by appending it to the domain name, like so:

http://portquiz.net:8080/

1
  • 1
    Duh how silly of me, I forgot they were standard. Thank you.
    – Xantium
    Apr 23, 2018 at 18:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.