LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-17-2009, 09:53 AM   #1
harshildesai
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Port not accessible from remote machine


Hi

I have two machines -windows and linux present locally.
I am trying to run remote debugging (using eclipse) on windows machine to a tomcat application on linux box(fedora).
I have enabled a debugging port 8800 on linux box and the startup log says “listening for transport dta_socket at 8800”
Now when I try to connect my eclipse to it, I get “Failed to connect to remote VM. Connection refused.”

Here is the port description on linux

Quote:
lsof -i:8800
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME

java 21930 root 4u IPv4 59436 0t0 TCP *:sunwebadmin (LISTEN)
Quote:
netstat -tulpn

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

tcp 0 0 0.0.0.0:8800 0.0.0.0:* LISTEN 21930/java
Tomcat logs says
Debugger failed to attach : Handshake failed

Obviously the port is not accessible hence the debugger is not able to connect.
Please suggest, what steps to follow. Any pointers would be helpful too.
 
Old 07-17-2009, 09:56 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Firewall?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
svnserve listening, but port not accessible from remote. menphix Linux - Server 4 07-17-2009 09:37 AM
Linux machine is not accessible through windows machine using samba satishmali1983 Linux - Server 2 06-25-2009 12:01 AM
Is there any way I can test a port on a remote machine to see whether its open? neocookie Linux - Networking 3 05-09-2007 05:13 PM
Port accessible only from local machine pfournier Red Hat 1 01-10-2005 12:53 PM
Forwarding ONE port to remote machine supertrout Linux - Networking 2 12-14-2004 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration