I am NOT able to connect to Log4View TCP Server over the Internet.
I am NOT able to connect on the same LAN.
I am able to connect on the same PC.
I am able to connect to another TCP server (different software) over the Internet on the same port, so my port forwarding and firewall is OK.
Log4View and PC setup:
- Version: 12.6.3.163
- Logger: TCP Server on port 878
- PC has local IP 192.168.1.3, given by router, and router is available on IP x.x.x.x
- Only a single network adapter in Windows
- Port forwarding in router enabled
- Firewall exception for port TCP 878 added
Solution:
It seems Log4View binds to localhost:port, but it should instead bind to that same port on all available network adapters.
Note:
I can edit the Host on the logger if I first select UDP or TCP Client logger, then type in 192.168.1.3 instead of localhost, then select TCP Server, which greys out the Host text box. At this point I can no longer connect to neither localhost nor 192.168.1.3 from the same PC, so changing this has an effect but it still doesn’t let me connect remotely. There is clearly something wrong with the TCP listener preventing me from accepting remote connections.
Some related posts:
http://stackoverflow.com/a/7238115/134761
http://stackoverflow.com/a/507277/134761
http://stackoverflow.com/a/436898/134761
Please advice if this should be working, or if this is a bug you need to fix.
Thanks!