Attempting to connect to a remote server using Eclipse

I have an Ubuntu server with Tomcat and I want to connect EE Eclipse to it so that I can work with JSP.

I have no problem connecting to a similar Tomcat service when it is installed on my computer (and not on the server), but whenever I try to connect to a remote server, I have no way to select the Tomcat service.

Is there any guide that you can recommend (I didn’t find it), or something I did wrong?

+3
source share
1 answer

The "remote" Tomcat (or, in general, the application server) must be configured to allow such a connection.

:

-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

jpda startup.sh ( .bat) script catalina.sh script.

- Apache Tomcat, : http://wiki.apache.org/tomcat/FAQ/Developing

: (8000 ). , , iptables.

iptables 8000:

sudo iptables -A INPUT -p tcp --dport 8000 -j ACCEPT

, "ufw" - " ", , iptables.

( ) - telnet :

telnet your.distant.host 8000

, , telnet , .

+3

Source: https://habr.com/ru/post/1743358/


All Articles