流浪在水一方 发表于 2023-5-11 17:10:31

断c舍离 发表于 2023-5-11 14:37
防火墙 ip地址 网线试网 重启 搞了好多遍了没有用

問下奘的版本是C4 C5 C6?
真不行 請機台商來弄吧 他們看就知道哪設置不對了

1595763701 发表于 2023-5-11 17:48:05

断c舍离 发表于 2023-5-11 16:15
啥是ping一下 怎么搞啊

电脑终端ping 机床的IP地址,看看网是不是通的

1595763701 发表于 2023-5-11 17:53:27

1595763701 发表于 2023-5-11 17:48
电脑终端ping 机床的IP地址,看看网是不是通的


wgaamepptt 发表于 2023-5-11 20:45:31

西门子怎么搞

断c舍离 发表于 2023-5-11 20:49:32

1595763701 发表于 2023-5-11 17:53


是在运行里输入192.168.1.1那一行的数据吗

断c舍离 发表于 2023-5-11 20:50:51

1595763701 发表于 2023-5-11 17:53


这一步怎么操作啊没懂...

ζ又如何 发表于 2023-5-14 15:04:29

断c舍离 发表于 2023-5-11 09:30
一样的我也是这样设置的 还是不行

缺少文件   复制过去就好了C:\Windows\System32\drivers\etc

1846517525 发表于 2023-5-15 19:09:07

我是IPv4IP设置为自动然后查自己电脑的IP输入机床然后重装搞定的不知道能不能帮到你

沉淀的小伙 发表于 2023-5-16 23:41:28

断c舍离 发表于 2023-5-11 09:30
试过好几次了没有用

安装文件里面有个NC什么什么.exe,鼠标右键: 管理员运行。你再看下有没有

似曾相识999999 发表于 2023-5-17 05:29:15

仿照 2# 的设置就可以 PC IP 地址 与 主机服务器 要一致,这个和发那科设置的一样,如果你修改了机床内的IP 要关机重启,我不怎么喜欢你用的这个专业软件,感觉FTP 服务器 好用 多年前的小软件体积小操作简单
你这一直链接不上的试防火墙没有许可,你看一要求端口是什么,许可一下就可以,关闭防火墙也可以不过这样就危险了

记事本拷贝代码保存后,修改文件后缀名 .bat   {:victory:}
批处理关闭防护火墙代码,关闭后再开启要手动打开
@echo off
color 0a
echo 用批处理关闭防火墙,包括家庭和工作网络位置、公用网络位置设置。

netsh firewall set opmode mode=disable profile=ALL 1>nul 2>nul
netsh firewall set opmode mode=disable 1>nul 2>nul
netsh advfirewall set allprofiles state off 1>nul 2>nul


echo 防火墙已关闭
pause


如果不关闭防火墙可以开启常用端口,这代码开端口比较多我不知道会不会给你带来麻烦!你考虑好再执行。。
@echo off
color 0a

rem 设置需要启动的端口
set OTHERPORT=1433,3389

       
rem 启用防火墙常规端口可以删除
netsh advfirewall firewall add rule name="_Ping" dir=in protocol=icmpv4 action=allow
netsh advfirewall firewall add rule name="_20 FTP" protocol=TCP dir=in localport=20 action=allow
netsh advfirewall firewall add rule name="_21 FTP" protocol=TCP dir=in localport=21 action=allow
netsh advfirewall firewall add rule name="_22 SSH" protocol=TCP dir=in localport=22 action=allow
netsh advfirewall firewall add rule name="_23 Telnet" protocol=TCP dir=in localport=23 action=allow
netsh advfirewall firewall add rule name="_25 SMTP" protocol=TCP dir=in localport=25 action=allow
netsh advfirewall firewall add rule name="_69 TFTP" protocol=UDP dir=in localport=69 action=allow
netsh advfirewall firewall add rule name="_110 POP3" protocol=TCP dir=in localport=110 action=allow
netsh advfirewall firewall add rule name="_443 HTTPS" protocol=TCP dir=in localport=443 action=allow
netsh advfirewall firewall add rule name="_137 Netbios-ns" protocol=UDP dir=in localport=137 action=allow
netsh advfirewall firewall add rule name="_138 Netbios-dgm" protocol=UDP dir=in localport=138 action=allow
netsh advfirewall firewall add rule name="_139 Netbios-ssn" protocol=TCP dir=in localport=139 action=allow
netsh advfirewall firewall add rule name="_445 Netbios-ds" protocol=TCP dir=in localport=445 action=allow
netsh advfirewall firewall add rule name="HTTP" protocol=TCP dir=in localport=80 action=allow
netsh advfirewall firewall add rule name="HTTP" protocol=TCP dir=in localport=8080 action=allow


rem 启用防火墙非常规端口
FOR %%c in (%OTHERPORT%) do (
        SET PORT=%%c
        call :input
        call :output               
    )

pause

rem 入栈规则
:input
set INPUTPORT=%PORT%
set INPUT_RULE_NAME="_%INPUTPORT% 入栈规则"
netsh advfirewall firewall show rule name=%INPUT_RULE_NAME% >nul
if not ERRORLEVEL 1 (
    echo 对不起,规则 %INPUT_RULE_NAME% 已经存在
) else (
    netsh advfirewall firewall add rule name=%INPUT_RULE_NAME% dir=in action=allow protocol=TCP localport=%INPUTPORT%
        echo 规则 %INPUT_RULE_NAME% 创建成功
)

rem 出栈规则
:output
set OUTPORT=%PORT%
set OUT_RULE_NAME="_%OUTPORT% 出栈规则"
netsh advfirewall firewall show rule name=%OUT_RULE_NAME% >nul
if not ERRORLEVEL 1 (
    echo 对不起,规则 %OUT_RULE_NAME% 已经存在
) else (
    netsh advfirewall firewall add rule name=%OUT_RULE_NAME% dir=out action=allow protocol=TCP localport=%OUTPORT%
        echo 规则 %OUT_RULE_NAME% 创建成功
)
页: 1 2 [3] 4 5 6 7 8 9
查看完整版本: NC Explorer软件连接三菱系统M70机床无法连接