Solved

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

Posted on 2011-03-24
5
854 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

740 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