Test server connectivity via python open socket

1. Open socket via python in target vm

[root@oraclevm02 ~]# python -m SimpleHTTPServer 7809
Serving HTTP on 0.0.0.0 port 7809 …
192.29.20.11 – – [11/Sep/2010 11:29:15] code 400, message Bad request syntax (‘\x03’)
192.29.20.11 – – [11/Sep/2010 11:29:15] “” 400 –

2. Telnet target:port

[root@oraclevm01 ~]telnet oraclevm01 7809

Leave a Reply

Your email address will not be published. Required fields are marked *