Questions tagged [portforwarding]

1

votes
4

answer
3.8k

Views

Is there any way to overcome the router port forwarding on TCP/IP application?

I need to connect to computer over TCP/IP I have the external ip but without port forwarding I can't connect to the server. Is there any way to configure the server to accepts connection on the external ip and port defined by the server without configuring the router ? (How does emule do it ? or ot...
user63898
1

votes
0

answer
107

Views

Cannot properly configure ddns -> Apache -> local website

Good morning and thanks to all, I need help with something which has been bothering me for more than one day of trying: I cannot visit my local website (the website I am developing on localhost in my laptop) from an external ip. I get 'Error 500 - Connection refused' from any browser. I have a XUbu...
dpg
1

votes
0

answer
651

Views

How to connect to a remote Jupyter Notebook running on a docker container?

I am running a Jupyter-notebook on a docker container (ubuntu) running on a remote machine (amazon p2). I want to access the notebook via my browser (http://localhost:8883/) but am getting: open failed: connect failed: Connection refused My ssh confing: Host p3 HostName User LocalForward 8883 127...
avitheavi
1

votes
2

answer
109

Views

Streaming from NodeJS server not working when access from outside

I have a question about streaming an audio file via a NodeJS server. I'm using the following code: var http = require('http'); var fs = require('fs'); var filePath = 'media/test.mp3'; var stat = fs.statSync(filePath); http.createServer(function(request, response) { response.writeHead(200, { 'Content...
pschild
1

votes
1

answer
581

Views

Public access container in QNAP NAS server

I have running node.js app in my docker container in Container Station in my QNAP NAS. It's working on my local network on the port I have specified. Typically I would set reverse proxy pointing fe. my-domain.com/my-app :80 => : On NAS I have static IP provided, I have even a domain for public acces...
Łukasz Ostrowski
1

votes
0

answer
99

Views

SSH Tunneling with a c library

I am trying to use libssh library to open an SSH tunnel. Basically, I need to reach a server through a tunnel. First, I would need to SSH to the gateway (I have already done this), then I would need to SSH from that host to the server: [PC] -- ssh [email protected] --> [gateway] -- ssh [email protected] --> [s...
Simo Elmou
1

votes
1

answer
67

Views

Get client-side port number in Symfony for request sent via SSH local port forwarding

This might not be specific to Symfony since the client-side port number is not visible in the $_SERVER superglobal. Occasionally, I use SSH local port forwarding to preview an AWS ElasticBeanstalk application that lives in the private subnet (not accessible from the internet). $ ssh -L 8088:hellowor...
Adam Elsodaney
1

votes
0

answer
46

Views

Mysql access denied when connect via ssh port forwarding

I need to access to a mysql database via ssh port forwarding. I create the forwarding like this: ssh -n -N -f -L 3308:127.0.0.1:3306 when connecting I get the error access denied (Error 1045) When logging into the remote computer with ssh and than try to connect to the database everything works fin...
solick
1

votes
0

answer
106

Views

Chrome port forwarding not working for https port

I went through this article to setup port forwarding in chrome. Though I was able to work it out for non-secure (http) ports, I couldn't get it working for secure (https) ports. In both cases (http and https) the page loads in my laptop. just the https page doesn't load in my android phone. Here is...
Bharat Gupta
1

votes
0

answer
615

Views

How to fix remote port forwarding failed for listen port 80

I use Serveo and want to expose my localhost site to internet with my own domain. If I use serveo sudbomain it works perfect. But when I try to use it with my own domain name on port 80,it gets me this error: Warning: remote port forwarding failed for listen port 80 I use this command: ssh -R examp...
Georgi Pehlivanov
1

votes
0

answer
383

Views

iptables port forward rule to route traffic from WireGuard TUN interface to eth0

I am using WireGuard (WG) as a VPN and only routing certain port based traffic over it. On the ingress side of the tunnel the traffic first hits eth0 then goes on to the WG TUN interface, wg0, so the following rule works for forwarding on ingress: -A PREROUTING -d 192.#.#.# -i eth0 -p tcp -m tcp --...
Hobbit-42
1

votes
0

answer
16

Views

Server Python script

I wrote a Python program that listens to a specific port number. I made port forwarding settings in ADSL modem. Now when I scan with an online scanner, I'm get port closed. my vendor adsl modem =>linksys import socket import time P = 1234 H = '0.0.0.0' print (' server is started ',H,' ',P,'\n') s =...
mohamadreza ch
1

votes
0

answer
196

Views

Unable to connect to remote jupyter server using the vscode python plugin

To connect to a remote jupyter server started with --no-browser option, I usually do a local port forward and connect to the server using the web-browser. However, I would like to connect to that server using the vscode's python extension using its 'Specify Jupyter server URI' option. At present, I...
Kanchan Kumar
1

votes
3

answer
5k

Views

Port Forwarding From Within Java

I plan on building a few programs in Java that take advantage of the ServerSocket and Socket classes. I have the code built correctly, and I can make connections properly. However, I want to make it as easy on the user as possible when it comes to making connections and servers. So, I need a method...
B3tturTh3nU
1

votes
2

answer
632

Views

Establish SSH Connection Between Two Isolated Machines Using a 3rd System

I'd like to do the following with Python: Computer 1 starts SSH server (probably using twisted or paramiko) Computer 1 connects to Server 1 (idle connection) Computer 2 connects to Server 1 Server 1 forwards Computer 2's connection to Computer 1 (connection no longer idle) Computer 1 forwards Server...
FurryHead
1

votes
1

answer
2.4k

Views

Port Forwarding with vb.net

I am trying to write a program that launches a game server, the only problem is that I do not know how to port forward with vb.net or if it is even possible? It is for a game
Kuzon
1

votes
1

answer
6.7k

Views

Router port forwarding and rtsp streaming problem

I'm using vlcj to stream (RTSP) video. The problem is I am behind a router and dd-wrt only forwards and open ports if there is an application that is listening. But, I stream video, I don't listen on ports that are streaming... How can I get around this problem? Everything works fine if I don't use...
Radu Gancea
1

votes
1

answer
1.5k

Views

Multiple SSH hops with Net::SSH (Ruby)

So here's my setup: Laptop -> Host 1 -> Host 2 -> Host 3 Laptop can reach Host 1, but not Host 2 or Host 3 Host 1 can reach Host 2, but not Host 3 Host 3 can reach Host 2, but not Host 1 What I'm trying to do is set up remote forwards so that a process running on Host 3 will be routed to running ser...
Aaron
1

votes
3

answer
2.9k

Views

Java port forwarding

I am trying to design a very simple remote port forwarding Java program. When this program is complete and I run this in terminal (java PortForward 1234 google.com 80), the program should listen for a connection on 1234 and forward the traffic to 80 on the remote host google.com. I should then be a...
user1513200
1

votes
1

answer
591

Views

Check if port 57875 is closed on localhost VB.Net?

I am trying to see if port 57875 on localhost, the computer, is closed. Here is the code I have so far: Try Dim checkPort As TcpClient = New TcpClient('localhost', 57875) Catch ex As Exception MsgBox('WARNING: Port 57875 is not forwarded ! The game will probably encounter an error !') End Try Even i...
user1792742
1

votes
1

answer
414

Views

Does WCF offer options to avoid port forwarding?

So many programs in the past and even the present operate on a Server/Client basis. Examples include TeamSpeak, Ventrilo, Mumble, etc. These programs typically require going into the router and forwarding ports so that the computer running the server can get the messages from the clients which are s...
Cowman
1

votes
1

answer
1.2k

Views

How to forward a localhost port?

How can I simply forward a port from the Android emulator (127.0.0.1:5555) to my LAN (192.168.1.102:5555)? I don't think I can change the IP address of the emulator so the only way I see I can do this is by forwarding that port to the network. I just want to access my powerful PC emulator from my la...
dragostis
1

votes
2

answer
277

Views

how to maintain a connexion to send realtime data to distant client without request

i'm developing a mobile project the can control a home an receve information from it either from inside or outside of the house. im setting up a port forwarding mechanism on my router to connect to my server if i'm using my application from the outside. i think that the fact of receving data from t...
Snake Hernandez
1

votes
1

answer
2k

Views

Port Forwarded; Port Check says port is open but unable to connect

I have setup the Swann DVR Surveillance System. I am able to access the web client at 192.168.1.99:85 (static ip in internal LAN). I have port forwarded 85 packets to 192.168.1.99. But when I access my external ip eg xxx.xxx.xxx.xxx:85 I get unable to connect error. I checked if the port is open in...
Steve Robinson
1

votes
1

answer
226

Views

Punching a web server through home router programmatically, automatically

The premise is this; We have a piece of hardware, bought by a consumer with no technical skill. This hardware runs a web server, hosting a simple web site. This web site needs to be reachable even if it's sitting behind a home router firewall. How could this be solved? The connection doesn't strict...
Phil
1

votes
1

answer
1.6k

Views

Access private http server

I built a Nodejs HTTP server. It's running on localhost:3000. From outside the Local Area Network, how does one make a request to the private HTTP server? Messing with the router manually is not an option; process should be automated. I've looked at various techniques - and I'm confused: Mapping the...
tfmontague
1

votes
1

answer
1.4k

Views

Mapping TCP connection to multiple host:ip destinations

I am wondering if there is a way to forward / redirect / proxy one host:port to multiple host:port combinations. I know there are tcp redirection servers such as Rinetd, socat and other proxy servers, but it looks like they redirect only 1 source to 1 destination. Has anyone found a solution for t...
mvbl fst
1

votes
1

answer
234

Views

How does local Spring app access mysql on OpenShift?

I am building a local Spring app to access the database I created on OpenShift at 127.2.xx.yy/eetom:3306. So I created this propery in Beans.xml. but I got exceptions such as Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications l...
Splash
1

votes
1

answer
331

Views

Forward EC2 traffic from 1 instance to another?

I set up countly analytics on the free tier AWS EC2, but stupidly did not set up an elastic IP with it. No, the traffic it too great that I can't even log into the analytics as the CPU is constantly running at 100%. I am in the process of issuing app updates to change the analytics address to a priv...
Darren
1

votes
2

answer
1.5k

Views

Can you force a port forward without access to the router and UPNP probably turned off?

I want to port forward a port for my webserver on a router which i don't have access to. I highly doubt UPNP is enabled.
Grymfogel1
1

votes
2

answer
6.6k

Views

Proxy the http and https traffic from my iPhone/iPad to VirtualBox on my Mac

I've got a mac running a Debian VirtualBox which forward the traffic from 8080 on the mac to 80 in the box and from 8443 to 443. The domains with the extension .dev are redirected on the mac to 127.0.0.1 with dnsmasq. The traffic on IP 127.0.0.1 is forwarded from 80 to 8080 and from 443 to 8443 usi...
Nicolas BADIA
1

votes
1

answer
1k

Views

nginx port forwarding to port 80 from a running meteor app at port 3001

I'm running an meteor app at port 3001 on my VPS, and would like to forward it to port 80. This is my vhost config: server { listen 80; server_name meteor.myDomain.com; root /home/wwwroot/meteor.myDomain.com/leaderboard; include typecho.conf; location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires...
ycs1988
1

votes
1

answer
189

Views

Do I need port forwarding? [closed]

I'm sending simple messages from an Android client to a PC server using TCP sockets. They are on the same WiFi network (connected to the same router). Do I need port forwarding for this?
mgulan
1

votes
1

answer
730

Views

Port forward not working to set a local web server

I have just created a simple web server using node server and it's running fine. I can access it from the same PC by going to address http://127.0.0.1:1337. Now I want to access that web server from my WAN IP. I got my my using whatismyip and got something like 110.36.xxx.xxx. When I tried http://11...
coure2011
1

votes
1

answer
380

Views

multiple port-forwarding, client-linux box-server

I've installed soap-ui software on my laptop [A] [ip: 172.30.X.X] and I'm trying to connect to a Webservice which is provided on a server [C] [ip: 10.10.X.X]. the problem is that I dont have a direct access/permission to connect directly to that server. however there is a Linux box in the network [B...
atari83
1

votes
1

answer
3.2k

Views

Can't connect to DB in virtual machine

I'm having a problem when trying to connect to a DB installed in my Redhat virtual machine. I have oracle XE installed in my VM. Here is my port forwarding configuration: However, when I try to connect using the SQL developer on Windows, I can't get a connection and I get the following error when te...
SaintLike
1

votes
1

answer
113

Views

why is android emulator on local network offline?

I am developing an android application on android studio. but because of my hardware limits I'd like to test the results through an android studio emulator which is on another computer in my local network. I've read the tutorial on this page : I did all of the steps on the page and I can see the de...
M.Shahrokhi
1

votes
1

answer
184

Views

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

So I have the following URL that leads external users to my port-forwarded XAMPP website. http://ip_to_my_computer:433 However, my node server is on port 466. How do I connect to it? I can't do var client = io.connect('http://ip_to_my_computer:433:466'); Thanks!
josh
1

votes
1

answer
937

Views

How to remotely debug java app and forwarding the port to virtual machine?

I want to start a java application in a host machine (windows 7) with debugging enabled -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 Then I want to start a virtual machine through vagrant and forward the port 5005 to the guest machine. On the guest machine I want to connect...
mrt181
1

votes
1

answer
117

Views

Connecting SQL running on Vagrant machine through remote host?

I am trying to connect Emma to MySQL running on Vagrant Machine with nginx from a remote location. The server (host) has a static ip that can be accessed through internet. It also has its own running MySQL instance that I can connect to. However I want to connect to Vagrant's MySQL from a remote loc...
Anakooter

View additional questions