CentOS 7 solves nfs client mounting problems

Source: Internet
Author: User

CentOS 7 solves nfs client mounting problems

When the nfs server is configured, the mounting of the server is normal, but the following message is displayed when the client is mounted: mount. nfs: Connection timed out solution 1: Disable firewalld # systemctl stop firewalld # firewall-cmd -- state not running solution 2: rpcinfo-p display as follows:

Program vers proto

Program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100005 3 tcp 38465 mountd
100005 1 tcp 38466 mountd
100003 3 tcp 2049 nfs
100024 1 udp 51714 status
100024 1 tcp 37589 status
100227 3 tcp 2049 nfs_acl

Open these ports: firewall-cmd -- permanent -- add-port = 111/tcpfirewall-cmd -- permanent -- add-port = 38465/tcpfirewall-cmd -- permanent -- add-port = 38466/tcpfirewall-cmd -- permanent -- add-port = 2049/tcpfirewall-cmd -- permanent -- add-port = 51714/tcpfirewall-cmd -- permanent -- add-port = 37589/tcp

Then

Firewall-cmd -- reload

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.