CentOS 7 NFS Client Mount issue

Source: Internet
Author: User

Server-side mount is not a problem when configuring Server for NFS, but prompt when client mounts: Mount.nfs:Connection timed out
Workaround 1:
Shut down

#



Workaround 2:
Rpcinfo-p
Shown below:

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/tcp
Firewall-cmd--permanent--add-port=38465/tcp
Firewall-cmd--permanent--add-port=38466/tcp
Firewall-cmd--permanent--add-port=2049/tcp
Firewall-cmd--permanent--add-port=51714/tcp
Firewall-cmd--permanent--add-port=37589/tcp

And then

Firewall-cmd--reload

CentOS 7 NFS Client Mount issue

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.