dynm / qira

Automatically exported from code.google.com/p/qira
0 stars 0 forks source link

Can't not redirect the qira-server to physical machine #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Excuse me, I use VirtualBox and open an ubuntu 12.04 server VM.
I try to redirect port from 10.0.2.15:3002 to physical machine, but it's fail.
If I use `nc localhost 3002` in VM, it's work.
However, I change the command to `nc 10.0.2.15 3002`, it doesn't connect to the 
target.

p.s I followed the step in ezhp write-up, and used QIRA v0.2.

Original issue reported on code.google.com by h124...@gmail.com on 22 Jul 2014 at 6:53

GoogleCodeExporter commented 8 years ago
The qira-server is bound on localhost by default, not on external interfaces. I 
recommend forwarding the port using ssh on your physical machine with "ssh vm 
-L 3002:localhost:3002". Then connect on the physical machine by visiting 
"http://localhost:3002"

Original comment by geo...@google.com on 22 Jul 2014 at 5:08

GoogleCodeExporter commented 8 years ago
It's work! thanks.

Original comment by h124...@gmail.com on 23 Jul 2014 at 3:09