RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
I was testing this issue on CentOS 7. When you encounter such a problem you have to dig deeply.
The problem:
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
is related to firewall. The command showmount -e IP_server
shows all mounts that are available on server. This command works fine, but you have to be careful which port to open. It does not get through the firewall if only port 2049
has been opened. If the firewall on the NFS server has been configured to let NFS traffic get in, it will still block the showmount
command. To test if you disable firewall on server you should get rid of this issue.
So those ports should be open on server:
firewall-cmd --permanent --add-service=rpc-bind
firewall-cmd --permanent --add-service=mountd
firewall-cmd --permanent --add-port=2049/tcp
firewall-cmd --permanent --add-port=2049/udp
firewall-cmd --reload
Additional test 2049/NFS port for availability.
semanage port -l | grep 2049
- returns SELinux context and the service namenetstat -tulpen | grep 2049
share improve this answer follow
相關文章
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- 【bash】關於 /dev/(tcp|udp)/${HOST}/${PORT}devTCPUDP
- Unable to negotiate with xx.xxx.xxxx port 22: no matching host key type found. Their offer: ssh-rsa(解決的兩種方式)Go
- Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Host is unreachable(Host unreachable)AIbootIndexServer
- sudo 出現unable to resolve host 解決方法
- Unable to open debugger port (127.0.0.1:29697): java.net.SocketException "socketException"127.0.0.1JavaException
- 坑:ssh: connect to host github.com port 22: Connection refusedGithub
- The connection to the server 10.10.0.2:6443 was refused - did you specify the right host or port?Server
- 異常解決——GitLab : ssh: connect to host port 22: Connection refusedGitlab
- Anbox安裝apk失敗(提示Failure res=-113等)的解決方法APKAI
- sudo時出現unable to resolve host 的解決方法
- ssh 遠端登入報錯:Unable to negotiate with IP port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss 解決辦法Go
- unable to access ‘https://gitee.com/XXX/XXX.git/‘: Failed to connect to 127.0.0.1 portHTTPGiteeAI127.0.0.1
- 關於出現requests.exceptions.SSLError: HTTPSConnectionPool(host=‘XXX‘, port=443)問題ExceptionErrorHTTP
- requests.exceptions.ProxyError: HTTPSConnectionPool(host='mainnet.infura.io', port=443) 訪問infura時的錯誤ExceptionErrorHTTPAI
- design for failureAI
- errno的用法
- Linux errno 列表Linux
- ubuntu ssh: connect to host ** port 22: Connection refused ssh登入遠端伺服器時提示Permission denied (publickey,password)Ubuntu伺服器
- location.port
- find process by port
- 路由 Route路由
- proxy_set _header Host $host;Header
- The Tomcat connector configured to listen on port 80 failed to start. The port may already be inTomcatAI
- Error: Debug Failure at typeToStringErrorAI
- Preferred Read Failure GroupsAI
- docker 修改port 埠Docker
- URL port 屬性
- kubectl port-forwardForward
- 113-Path Sum II
- OSError: [Errno 22] Invalid argumentError
- next-route
- vue-routeVue
- NotesAtRandom——通用MapperrandomAPP
- 使用 Route macro 來定義 Route 的新方法Mac
- Laravel7.0 Route::get ()->name ('home') route ('home') 報錯Laravel
- 3.3.1 - Laravel - 5.6 - Route - 路由物件Route的建立過程Laravel路由物件
- 虛擬機器之間能夠ping通,但是建立tcp連線時卻顯示Failed in connect to TCP server: No route to host虛擬機TCPAIServer