| | |
port forwarding in Python
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
I had a problem in connecting to remote MySQL server, which is being firewall protected. I searched in Internet to find possible solution, I found, I have to use port forwarding using SSH command, and I am using WinXP.
But unfortunately, SSH command is not there in Windows.
I used PLINK command for port forwarding. I was able to connect to MySQL on remote host. But the problem is, when I run command it opens a command prompt, which I don't to run as seperate window, when I run this command.
Is there any way I can hide this command prompt being displayed?
following is the code I run to port forwarding(local port forwarding)
Any advise is greatly appreciated.
Thanks.
Sudhir.
But unfortunately, SSH command is not there in Windows.
I used PLINK command for port forwarding. I was able to connect to MySQL on remote host. But the problem is, when I run command it opens a command prompt, which I don't to run as seperate window, when I run this command.
Is there any way I can hide this command prompt being displayed?
following is the code I run to port forwarding(local port forwarding)
Python Syntax (Toggle Plain Text)
import os os.system("plink -v -l -N -batch username -pw password -L 3307:remote.MySQL.server:3306 remote.firewall.server")
Any advise is greatly appreciated.
Thanks.
Sudhir.
![]() |
Similar Threads
- Port Scanner Reporting Zero Ports Opened. (Networking Hardware Configuration)
- scoket problems (Python)
- my port 80 (Networking Hardware Configuration)
- port forwarding SpeedStream 6300 (Networking Hardware Configuration)
- Network access Denied on DMZ/Port Forwarding. (Networking Hardware Configuration)
- Port Fowarding Help (Networking Hardware Configuration)
- Port Fowarding Help (Networking Hardware Configuration)
- Cisco 1605R port forwarding (Networking Hardware Configuration)
Other Threads in the Python Forum
- Previous Thread: Extract strings from HTML with Asian encoding
- Next Thread: Chores Assignment Script
Views: 2430 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for Python
anti approximation array avogadro beginner builtin cipher clear client code color converter countpasswordentry cturtle curved def dictionary drive dynamic examples excel file float format frange ftp function gui homework import input java lapse library line lines linux list lists loop microcontroller mouse multiple mysqldb mysqlquery newb number numbers output parsing path port prime program programming projects py2exe pygame pymailer pyqt python random recursion recursive redirect script scrolledtext singleton socket sqlite ssh stderr string strings subprocess sum syntax table terminal text textarea thread threading time tkinter tlapse tuple tutorial twoup ubuntu unicode unix urllib urllib2 variable web-scrape wikipedia windows word wxpython





