Solved

Problem related to tcp/udp incoming port on Debian-based LinuxMint amd64

Posted on 2011-03-24
5
839 Views
Last Modified: 2016-03-02
Hi there,

I'm using a laptop as a client to access the Matlab distributed computing server on my desktop. The problem is, the server cannot connect to my laptop via port 27371:

Stage: Matlabpool

Status: Failed
Description:  Encountered a problem when trying to open the matlabpool.

Command Line Output: (none)

Error Report:
Error using ==> matlabpool at 133
The interactive parallel job errored with the following message:

Lab 2 on host PC failed to connect to the MATLAB client
on host Laptop, port 27371.

Debug Log: (none)

My questions: How do I diagnose the problem with this port on the client (how to know whether the port has been blocked by the system or not)? How to unblock the port for incoming traffic?

PS: I've removed any firewall package prior to the installation of Matlab client. The windows client (on same laptop) runs just well.
0
Comment
Question by:dienbaquan2nd
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:pilson66
ID: 35205878
First on the laptop to see whether the application is open port:
"netstat -nltp"

Then, if the port is listening application - try from another computer:
sudo aot-get install nmap
nmap laptop_ip -P0 -p 2737
0
 
LVL 8

Expert Comment

by:pilson66
ID: 35205897
Also, on a laptop, show the result of command "sudo iptables-save"
0
 
LVL 9

Expert Comment

by:svs
ID: 35206932
And run these commands as root.
0
 

Accepted Solution

by:
dienbaquan2nd earned 0 total points
ID: 35212548
Stupid me, after turn on ipv6 again on both systems, the Matlabpool is now working. Here's the output of netstat -ntp:


(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -              
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -              
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -              
tcp6       0      0 ::1:631                 :::*                    LISTEN      -              
tcp6       0      0 :::445                  :::*                    LISTEN      -              
tcp6       0      0 :::27370                :::*                    LISTEN      2533/MATLAB    
tcp6       0      0 :::27371                :::*                    LISTEN      2533/MATLAB    
tcp6       0      0 :::139                  :::*                    LISTEN      -    

Output of iptables -L:


Chain INPUT (policy ACCEPT)
target     prot opt source               destination        

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination        

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
0
 

Author Closing Comment

by:dienbaquan2nd
ID: 35239202
Just re-enable ipv6 on the client and on the server
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now