hi,
I have encountered another softioc connection problem:
I have insatlled modbus-R2-8, and want to run test example (file named Koyo1.cmd) in the iocTest folder.
I edited the Koyo1.cmd file to change the ip address in function with two conditions:
1) drvAsynIPPortConfigure("Koyo1","127.0.0.1:5065",0,0,1) where 127.0.0.1:5065 is my localhost ip address.
2) drvAsynIPPortConfigure("Koyo1","192.168.1.255:5065",0,0,1) where 192.168.1.255:5065 is my broadcast ip address that obtained by command ifconfig.
after starting the ioc: $ modbusApp Koyo1.cmd
the results are both two ip address cannot connect the Koyo1, the error messages are shown below:
1) drvAsynIPPortConfigure("Koyo1","127.0.0.1:5065",0,0,1) 2016/03/19 19:40:19.158 Can't connect to 127.0.0.1:5065: Connection refused Koyo1 -1 autoConnect could not connect
2) drvAsynIPPortConfigure("Koyo1","192.168.1.255:5065",0,0,1) 2016/03/19 20:19:49.083 Can't connect to 192.168.1.255:5065: Network is unreachable Koyo1 -1 autoConnect could not connect
I am new in epics, could you plesase help me and thanks in advance.
Best regards
Zhefu
|