?
Solved

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

Posted on 2011-03-24
5
Medium Priority
?
876 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

Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

Question has a verified solution.

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

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 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