oracle在內網,只有特殊機器能訪問,經過作端口映射,能夠以這個特殊機器做爲「跳板」完成本機對遠程oracle的鏈接。前端
「跳板」機器是windows,須要在該機器上執行netsh命令:windows
netsh interface portproxy add v4tov4 listenport=15210 connectaddress=db_srv_ip connectport=1521
取消命令:oracle
netsh interface portproxy delete v4tov4 listenport= 15210
查看當前端口映射的命令:spa
netsh interface portproxy show v4tov4 all