This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
ProxyRequests Off | |
ProxyPreserveHost On | |
<Proxy *> | |
Order allow,deny | |
Allow from all | |
</Proxy> | |
ProxyPass / http://localhost:8069/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import socket | |
ip = raw_input("Enter the IP: ") | |
port = input("Enter the Port: ") | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
if s.connect_ex((ip, port)): | |
print "Port", port, "is closed" | |
else: |
NewerOlder