apache - how should I test if port forwarding is working? -


i doing local forwarding remote port @ 80 apache2 listening on ssh -l 80:localhost:80 user@host.com , connects me remote server, find can still mkdir rm , such commands. isn't forwarded application listening on port 80? what's difference command ssh -p 22 host.com ? there way test if port forwarding working?

yes, can test follows:

  1. you should use client program on 1 side , server program on other remote side.
  2. try connect client server according ports , ip's used in port forwarding netsh cmd.
  3. if connection succeed , it, if connection fails, means port forwarding command failed, or ip , port configuration of client , server wrong.
  4. more on if send text file server, should receive it. hope help. thanks.

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -