Firewalls can be port dependent. You may not be able to get to port 1880.
If you power off the node red server does ping stop working? That proves that you are talking to the right computer.
Firewalls can be port dependent. You may not be able to get to port 1880.
If you power off the node red server does ping stop working? That proves that you are talking to the right computer.
The firewall is disabled
How did the power off test go?
Can't ping when node-red server power is off.
when I try "curl 172.16.11.38:1880" from windows desktop, it shows time out.
C:\Users>curl 172.16.11.38:1880
curl: (28) Failed to connect to 172.16.11.38 port 1880 after 21036 ms: Timed out
when I try "curl 172.16.11.38:1880" in local, it works.
delmar@maxdev2:~$ curl 172.16.11.38:1880
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<title>Node-RED</title>
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="mask-icon" href="red/images/node-red-icon-black.svg" color="#8f0000">
<link rel="stylesheet" href="vendor/jquery/css/base/jquery-ui.min.css">
<link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="red/style.min.css">
</head>
<body spellcheck="false">
<div id="red-ui-editor"></div>
<script src="vendor/vendor.js"></script>
<script src="red/red.min.js"></script>
<script src="red/main.min.js"></script>
</body>
</html>
delmar@maxdev2:~$
Well that proves the problem is external to the server. Either the router or the windows machine is blocking the port. Or possibly a subtle issue with the firewall on the server, but that is less likely. Do you have any other machines or mobile devices on the network to try?
I also try from another computer in the same network, it has the same issue.
From the computer running the browser, what does this show
nmap 172.16.11.38 -p 1880
Hi Colin,
Thank you so much for your help. Network guy fixed the issue and it is iptables issue.
So it was firewall after all
Quite the goose chase
Do you mean it was the firewall on the server, blocking that port?
add this to iptable:
-A IN_public_allow -p tcp -m tcp --dport 1880 -j ACCEPT
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.