How do I access an open HTTP port via command prompt?

For SSH I know it’s: ssh username@ipaddress And FTP: ftp ip6 address

I’m new to penetration testing so thought I’d ask.

Server is Apache2

  • 1
    You can try telnet command. telnet ipaddress/hostname port – bhordupur Jan 23 at 9:38
  • netcat is a clean alternative for telnet (I seem to remember the author of netcat ranting about the protocol overhead of telnet). – Jos Jan 23 at 9:47
  • Ok thanks. I’ve tried that but keep getting a response saying “connection closed by foreign host” – C.Mann Jan 23 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.