portforwarding

Android USB Debugging Port Forward Error

跟風遠走 提交于 2019-12-05 01:38:24
I am having a problem with the android remote debug port forwarding. I need to get ports in the 44300-44399 range forward because visual studio debugging only allows SSL on those ports, but I can never get those ports to forward even though the documentation says it should work on any port from 1024-65535. Anyone encountered this or know how I can figure out why the port isn't forwarded? I know the connection is there since other ports work ok. I found this in the Chromium source . Apparently only 1024-10000 is allowed despite the docs in chrome saying otherwise. Checking to see if they are

Example code of libssh2 being used for port forwarding

送分小仙女□ 提交于 2019-12-04 22:17:10
问题 I'm looking for an example of how to use libssh2 to setup ssh port forwarding. I've looked at the API, but there is very little in the way of documentation in the area of port forwarding. For instance, when using PuTTY's plink there is the remote port to listen on, but also the local port that traffic should be sent to. Is it the developers responsibility to set this up? Can someone give an example of how to do this? Also, an example where remote port is brought to a local port would be

Can P2P be done without port forwarding?

旧街凉风 提交于 2019-12-04 18:18:41
I was making a simple file transfer program through IRC and when I was reading up I saw that IRC when sharing a file creates a direct connection between the two users independent of the server (DCC, Direct Client Connect). After searching a while I have found this: Direct Connect and Advanced Direct Connect . None of these pages answer this question that I can't get out of my head: Is P2P data transfer possible without any user doing a special port-forward? An intermediate server which helps set up the connection (as in the IRC examples) is allowed. The data transfer itself must be independent

Trouble with Vagrant - “404 - Not Found”

落花浮王杯 提交于 2019-12-04 12:01:32
问题 I am attempting to make a LAMP box using Vagrant. I have been told that it is quite simple to use. I am completely new to networks and virtual machines and have very little experience with Linux/Ubuntu. I have currently tried following the tutorial on the official documentation page: http://docs.vagrantup.com/v2/getting-started/networking.html. I have gotten up to the networking article in the documentation and can't seem to get it working. Now the problem is, due to my inexperience with

OpenShift: can't connect to MySQL db with a cron python script

北战南征 提交于 2019-12-04 06:38:58
问题 I'm setting up an application on OpenShift. It requires a Python script to run every hour and extract data from an online server into a MySQL database on OpenShift. I've been filling this database for some time now by running the Python script locally on my computer and using the port-forward technique. This works like a charm. Underneath is the port-forwarding info that's displayed while doing this. Service Local OpenShift ------- -------------- ---- ------------------- httpd 127.0.0.1:8080

How can I connect to CockroachDB from outside the Kubernetes cluster?

早过忘川 提交于 2019-12-04 05:57:46
I've set up and deployed a Kubernetes stateful set containing three CockroachDB pods, as per docs . My ultimate objective is to query the database without requiring use of kubectl. My intermediate objective is to query the database without actually shelling into the database pod. I forwarded a port from a pod to my local machine, and attempted to connect: $ kubectl port-forward cockroachdb-0 26257 Forwarding from 127.0.0.1:26257 -> 26257 Forwarding from [::1]:26257 -> 26257 # later, after attempting to connect: Handling connection for 26257 E0607 16:32:20.047098 80112 portforward.go:329] an

Knowing if a remote port forward was successful?

故事扮演 提交于 2019-12-04 03:39:44
问题 I am trying to setup some reverse ssh tunnels so I can access my home network by bouncing off some server with a public IP. When I run this command: ssh -R :[port_XX]:localhost:22 some_user@my_server Even if "port_XX" is in use, it will still make a successful ssh connection to "my_server". If I am running this command directly, I can see the problem when it gives me a warning: "Warning: remote port forwarding failed for listen port [port_XX]" However, I am starting this ssh session inside a

Boot2Docker - Access webserver as localhost

三世轮回 提交于 2019-12-03 19:58:23
问题 Created a apache webserver as Docker container but want to access it on windows os browser as localhost. I can access the webserver with boot2docker private ip address which is 192.168.59.103 but would like to access the webserver as localhost i.e 127.0.0.1. Following is my Docker Container setup Running Boot2docker on Oracle VM Exposed ports : "EXPOSE 80 443" in docker file Command used to create Docker File : docker run --net=host --name=webserver1 -v /home/data:/data/www/www

What is STUN and does it need a port-forwarded server?

回眸只為那壹抹淺笑 提交于 2019-12-03 16:16:18
问题 I've done some research on p2p communication without a base server, and came over STUN. From what I've read, STUN is a way of NAT "Hole Punching" that would not require a peer to be port-forwarded to be connected to. Is this correct, and what exactly does hole punching mean? It all seems very vulnerable as it is going past the firewall if it does not require port-forwarding, and I do not entirely understand what STUN does. Could STUN be used in a p2p program in Java or another language such

VirtualBox Port Forwarding on Windows 7 not Working

你离开我真会死。 提交于 2019-12-03 13:52:19
VirtualBox Port Forwarding on Windows 7 not Working Im trying to ssh onto my VirtualBox from my Windows 7 host via port forwarding, but VirtualBox wont open the port for listening. I can connect to it by turning on the VirtualBox GUI and navigating via that terminal, but I cannot connect via a standard ssh client from my host. I want to be able to ssh on port 2222 on my host to the guest. Here's my setup: Host: Window 7 SP1 Guest: Ubunto Ubuntu 12.04 VirutalBox: 4.3.26 Host Processor: Intel Core i7 920 The guest machine is configured as a NAT and port forwarding is enabled for 127.0.0.1 for