Solved

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

Posted on 2011-03-24
5
847 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

825 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