portforwarding

VirtualBox WordPress redirects to port 80

旧街凉风 提交于 2019-12-02 19:20:59
问题 I'm running on OSX 10.9.2. I just set up LAMP on Lubuntu in VirtualBox so that I could run a development server through VirtualBox. I changed my /etc/apache2/ports.conf to listen on 8080 instead of 80, and I set up my VirtualBox port forwarding with NAT with the following configuration: +--------+----------+---------+-----------+----------+------------+ | Name | Protocol | Host IP | Host Port | Guest IP | Guest Port | +--------+----------+---------+-----------+----------+------------+ |

ssh dynamic port forwarding

旧街凉风 提交于 2019-12-02 16:23:26
问题 I want to use ssh dynamic port forwarding in my android code. I used the library jcraft , but unfortunately this library doesn't support dynamic port forwarding and just support local port forwarding and remote port forwarding . In the other word, I want to ssh like this, in my android code: ssh -D 10000 user@host Can anybody help me? 回答1: JSCH is a Java implementation of the SSH protocol. It's not a complete reimplementation of the OpenSSH ssh command-line utility. In the case of the dynamic

ssh dynamic port forwarding

雨燕双飞 提交于 2019-12-02 11:05:23
I want to use ssh dynamic port forwarding in my android code. I used the library jcraft , but unfortunately this library doesn't support dynamic port forwarding and just support local port forwarding and remote port forwarding . In the other word, I want to ssh like this, in my android code: ssh -D 10000 user@host Can anybody help me? JSCH is a Java implementation of the SSH protocol . It's not a complete reimplementation of the OpenSSH ssh command-line utility. In the case of the dynamic proxy feature, JSCH provides the ability to tunnel TCP connections through an SSH session, but it doesn't

SSH port forwarding in Docker

∥☆過路亽.° 提交于 2019-12-02 06:12:44
I have these two containers, say backend (CentOs) and mongo . What I would like to have is that from within the backend container I can connect to the mongo database as if it was running locally, $> mongo localhost:27017 Anyway, as far as I understand all this, you can map the port localhost:27017 to mongo:27017 like this $backend> ssh -L 27017:mongo:27017 root@mongo However, if I do this I have to provide the root password and after that it logs me into the mongo container and no port forwarding is happening Background: I want to do this because I'm running a Java program which connects to a

Knowing if a remote port forward was successful?

前提是你 提交于 2019-12-01 18:00:24
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 screen session using a cron job. How can I programmatically check if the remote port forwarding was

FTP server running on Port 2000 over NAT not working on Passive Mode

浪尽此生 提交于 2019-12-01 14:14:22
I am running FILE-Zilla ftp server on windows in one of the LAN pc connect to my router. i am trying to access the FTP server from the network outside of the router using Router WAN ip (WAN-to-LAN) by adding Port-Forwarding rule (NAT) in the router. I have 2 cases here as per below configurations. the 1st is working and the 2nd is not (in Passive mode). Note: i have added the custom inbound rule in the windows 7 firewall where the ftp server is running. Configuration #1 Filezilla FTP server port: 21 Passive port range: 50000-51000 NAT - external port: 21 NAT - internal port: 21 Windows

Vagrant port forwarding 80 to 8000 with Laravel Homestead

风流意气都作罢 提交于 2019-12-01 00:55:48
My Problem: I can only access my sites through port 8000, but not 80, which makes me think it is not redirecting 80 to 8000 as it says it should be. I want to simply type local.kujif.com into my browser and it loads the site, which I read was port 80 by default. I am using curl to check it and it returns: curl 'http://local.kujif.com' curl: (7) Failed connect to local.kujif.com:80; No error However if I add :8000 to the url then it works; it returns my index.php which simply prints 'test': curl 'http://local.kujif.com:8000' test My Details: I am using Laravel Homestead and Vagrant with Oracle

Vagrant Port Forwarding not working

若如初见. 提交于 2019-11-30 22:09:55
I've installed CouchDB on my vagrant 0.9.0 box that is running CentOS 6.2 . In Vagrantfile I've added config.vm.forward_port 5984, 5985 . After reloading vagrant i attempt to curl the address: curl -v localhost:5985 with poor results. * About to connect() to localhost port 5985 (#0) * Trying 127.0.0.1... connected * Connected to localhost (127.0.0.1) port 5985 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3 > Host: localhost:5985 > Accept: */* > * Empty reply from server * Connection #0 to host localhost left intact curl:

Vagrant port forwarding 80 to 8000 with Laravel Homestead

余生颓废 提交于 2019-11-30 20:02:31
问题 My Problem: I can only access my sites through port 8000, but not 80, which makes me think it is not redirecting 80 to 8000 as it says it should be. I want to simply type local.kujif.com into my browser and it loads the site, which I read was port 80 by default. I am using curl to check it and it returns: curl 'http://local.kujif.com' curl: (7) Failed connect to local.kujif.com:80; No error However if I add :8000 to the url then it works; it returns my index.php which simply prints 'test':

How to forward a subdomain to a new port on the same IP address using Apache? [closed]

回眸只為那壹抹淺笑 提交于 2019-11-30 10:41:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have a NAS/Server running at home 24/7 and run many different services on it. I have got a domain name pointing to it now, and was wondering if it would be possible to create sub-domains that point to different ports for different services. For example: http://subsonic.mydomain.com --> XXX.XXX.XXX.XXX:4040