poidasmith / xlloop

XLLoop Excel Function (UDF) Server
104 stars 49 forks source link

Ubuntu Erlang connection issues #10

Closed nehalmehta closed 11 years ago

nehalmehta commented 11 years ago

Hi,

When I am running Erlang server on Windows machine and Excel add in on another windows machine it works perfectly fine. But when I run Erlang server on Ubuntu machine and Excel add in on another windows machine it cannot connect it to ubuntu machine where Erlang server is running.

My configuration file looks like this

protocol=binary server=192.168.1.6:5454 function.name=ERL

I have validated that port 5454 is open on ubuntu and when I write small JAVA client to access that port just to re validate that port is open for connection, I am able to connect to Erlang server on Ubuntu machine. But I cannot connect via Excel XLLoop addin.

Any help will be appreciated.

nehalmehta commented 11 years ago

Actually Windows was using NBNS protocol to establish TCP connection. Ubuntu was responding to it.

Installed Samba4 which in turn set it up Ubuntu to respond to NBNS queries and it is working perfectly fine now.