i got a network problem. network packets (maybe tcp,udp and so on,i cann't control) can only access 127.0.0.1 on port 6666 (maybe),how can i forward these packets to the Internet? because these packets may communicate with outer servers,so i need route them someway,i guess.
Asked
Active
Viewed 48 times
0
-
You can use SSH port forwarding, but it can only forward packets from port 6666 to a single port of a single host. – mm759 Mar 08 '17 at 09:50
-
in fact ,i want to run app ,which will communicate with it's Internet servers ,in android studio emulator, but android studio emulator has isolation,it can access 10.0.2.2 ,which map 127.0.0.1 of my localhost – fancytao Mar 08 '17 at 09:52
-
Does this help? http://stackoverflow.com/questions/2039964/how-to-connect-android-emulator-to-the-internet – mm759 Mar 08 '17 at 10:22
-
i tried, this solution solve http access ,not meet my situation,thank you anyway – fancytao Mar 09 '17 at 07:25