Solved

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

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

22 Experts available now in Live!

Get 1:1 Help Now