Hello,
I have a webserver, which is running on linux as a VM on a Server at a big hosting company.
The server has an internal IP-address and all the requests are forwarded by a reverse proxy.
Now I want to test my webapps using the remote debugger console for linux.
Since I cannot open the debug port an the target server, I have to connect to the remote debugger using a ssh-tunnel.
When I’m trying to debug, the upload of the webapp is working properly, but then I’m getting the error message: “Could not locate the target IDE for debugging.Since we could not locate the target IDE to start a debug session, this application will now exit.”
I know that this has something to do with the firewall, but how do I fix this?
I have the one port (44554) forwarded to a local machine, do I need to forward one more port to my local machine?
If so, which one is it?
Would it work to just forward this port or is there anything else missing?
IIRC, there’s either two or three (I’ll have to see if I can find the specs on that), but to be clear, the way I usually do this is with a VPN like ZeroTier because you don’t have to deal with as much in the way of special port handling. Lemme see what I can find…
Okay, If this is just a server without a GUI attached to it, make sure you’re running the Remote Debugger Console app and not the Desktop app. You’ll have better luck with that.
By default, the port that the stub listens on is 44553
Ah here we go… from the docs:
If you are using a firewall on your development machine, you need to make sure that port 44553 is open for UDP and TCP connections and port 13897 is open for TCP connections.
so you’ll also need to forward port 13897.
Allright, forwarding UDP might be a problem.
I have to figure out how to do that with the ssh-tunnel.