Menu
  • HOME
  • TAGS

How to access Guest's port 3000 from Host?

ruby-on-rails,vagrant,virtualbox,portforwarding,vagrantfile

For security reasons, Rails 4.2 limits remote access while in development mode. This is done by binding the server to 'localhost' rather than '0.0.0.0' .... To access Rails working on a VM (such as one created by Vagrant), you need to change the default Rails IP binding back to '0.0.0.0'....

opening a reverse tunnel for public

ubuntu,port,portforwarding,ssh-tunnel

The solution is in /etc/ssh/sshd_config uncomment GatewayPorts Yes, restart, and it'll work perfectly.

PuTTY configuration equivalent to OpenSSH ProxyCommand

ssh,proxy,putty,portforwarding,tunneling

PuTTY does not have an equivalent configuration. You have to open a tunnel via the "MySshProxyServer" first using another instance of PuTTY. See for example: How to create ssh tunnel using Putty in Windows? My guide for tunneling SFTP/SCP session. It's for WinSCP, but just use PuTTY instead of WinSCP...

Does web socket need port forwarding?

http,websocket,portforwarding

Port Forwarding is only needed if one client wants to directly connect to the other client. But if all of your websocket messages are being relayed through a public server, then Port Forwarding is not needed.

Nginx: one port to multiple IP fowarding

nginx,portforwarding

NginX is of no use here. It will work for HTTP and HTTPS , so Ignore it. What you're actually thinking of is Port address translation. However PAT will work only when the connection is initiated from the secured side (your virtual machines in this case). So again, this is...

How to make SSH remote port forward that listens 0.0.0.0

ssh,portforwarding

Enable GatewayPorts in sshd_config (by default it is disabled). Enabling it will instruct sshd to allow remote port forwardings to bind to a non-loopback address. AskUbuntu has a similar question about Reverse Port Tunneling that goes into more details.

How can I forward requests to http://server:port to http://server:port/app

apache,.htaccess,port,portforwarding

You may use a rewrite rule like the following: RewriteEngine On RewriteRule ^/(.*) ^/app/$1 ...

VirtualBox WordPress redirects to port 80

wordpress,apache,ubuntu,virtualbox,portforwarding

I ended up following this guide: http://codex.wordpress.org/Changing_The_Site_URL In my wp-config.php, I added the following two lines define('WP_HOME', '<host ip address here>:8080/wordpresssite'); define('WP_SITEURL','<host ip address here>:8080/wordpresssite'); It's a little hacky, but it works for my own testing purposes. Also, apparently I've been running into an issue where localhost:8080/wordpresssite redirects to localhost/wordpresssite...

Port Forwarding from Modem->Router->PC

portforwarding

In your modem's configuration put the second router as the DMZ IP. Then on the second router you can port-forward whatever ports you want to your Nodejs.

netcat: Listen to incoming connections through WAN

linux,portforwarding,gateway,netcat

netcat can listen on a port on the machine that it runs on... so if your machine is behind a NAT, it can listen on a port behind a NAT and if port-forwarding is done correctly on the NAT box, your netcat process will be accessible from outside the NAT;...

Ruby Rails callback URL in development

ruby-on-rails,ruby,callback,portforwarding

That should work: Make sure you are forwarding external port 80 to your local port 3000. Make sure the Plivo is configured with your OUTGOING public IP address as the call back URL hostname. (google for "What is my ip"? and google will tell you) If that doesn't work, perhaps...

Do I need for forward local ports? [closed]

windows-7,portforwarding

You shouldn't need to forward those ports in order to be able to run the applications. Chrome and Steam are connecting through those ports to the internet because they are ones that the operating system says are available for outgoing connections and provided them with that unique port number when...

Allowing external access to node.js application while hosting through XAMPP

node.js,xampp,portforwarding

It looks to me like you're trying to initiate a client request from your XAMPP hosted server (like a .php or .js script) to your Node.js instance? Simply: var client = io.connect('http://ip_to_my_computer:node_server_port'); And in your case, you claim your Node server is running on port 466. I'd bet though that...

OData not working behind router with port address translation (port forwarding)

odata,asp.net-web-api2,firewall,nat,portforwarding

You're sending url requests with a header which includes a port like :10080 to an app hosted on the :80 port. Using NAT, with port modification (PAT), but without correcting the port on the URL can be the source of your problems. To explain it with other words you are...

JBoss HTTP Transport not port forwarding with Vagrant

jboss,virtualbox,vagrant,portforwarding

After lots of research I found a solution. This was the original webservice subsystem: <subsystem xmlns="urn:jboss:domain:webservices:1.1"> <modify-wsdl-address>true</modify-wsdl-address> <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host> <endpoint-config name="Standard-Endpoint-Config"/> <endpoint-config name="Recording-Endpoint-Config"> <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">...

Link docker container with host

docker,portforwarding

The easiest thing to do would be using --net=host. That effectively puts the container in the host network (which may not be what you want). Another option would be to talk to the docker host interface. DOCKER_HOST=`ip route show | grep ^default | awk '{print $3}'` should figure out the...

Port forwarding raspberry pi port 80 without router access

raspberry-pi,raspbian,portforwarding

Port forwarding should be done by the router. If you cannot access the router configuration and you are on a private network then there is no way to access it from outside except if your raspberry py contact the client in first place. You might ask a person in charge...

Does having a non-static ip stop you from port forwarding?

portforwarding

Not of course. You can open ports on your firewall. The problem is that your ip will change and someone to find you again needs the new one. Find your new one there http://whatismyipaddress.com/ You can work with a dns manager like http://www.noip.com/ to have a dns name. Also the...

running ruby on rails in virtual box debian instanz

ruby-on-rails,ruby,virtual-machine,virtualbox,portforwarding

when starting your server, use sudo rails server --binding=0.0.0.0

Is it possible to set a different host port than the container's exposed port in docker?

docker,port,portforwarding,kubernetes

It is host:container and it is possible to set different port on the host. This Link has some good examples.

No result with port forwading with mono.nat

c#-4.0,mono,portforwarding

Probably you NAT is an ADSL modem instead of an IP router. Try Open.NAT and please read it documentacion. I hope it can help you. If it doesn't work (doen't worry, it will) enable the tracing with verbose level and open an issue in github....

Boot2Docker - Access webserver as localhost

docker,portforwarding,boot2docker

If you want to access localhost to ports 80 and 443 you need to perform two actions: First, when you create your container, you must specify the port mapping specifically. If you run docker run with -P option, the ports set in dockerfile's EXPOSE will be expose to random ports...

Can't connect to remote django server port 80

python,django,remote-access,portforwarding

Port 80 (and many other ports) is reserved by Windows Server. Checkout this https://serverfault.com/questions/633179/cant-make-confluence-run-on-port-80-with-windows-server-2012-r2, You may want to google "Windows Server Reserved port" for more info and a way to "unreserve" it....

How to connect to web service running on Android device from a another computer on the same LAN?

android,rest,service,portforwarding

Managed to solve this: Used "adb forward tcp:LOCALPORT tcp:REMOTEPORT on my desktop machine to forward the port the service is listening on (REMOTEPORT) to a local port on my desktop (LOCALPORT) The service I was trying to talk to needed additional auth headers which I wasn't adding when testing with...