cancel
Showing results for 
Search instead for 
Did you mean: 

can't connect to CIFs port remotely - Urgent please help

roshan
Champ in-the-making
Champ in-the-making
I have installed and re-installed alfresco 3.4c many times, with old data, and no data. 

I can telnet to localhost on port 445, but I can't connect to it from a remote machine, and i have ubuntu and there is no firewall.

Please help, I don't know what else to look at.

Here is my config:
tcp6       0      0 :::139                  :::*                    LISTEN
tcp6       0      0 :::6060                 :::*                    LISTEN
tcp6       0      0 :::50508                :::*                    LISTEN
tcp6       0      0 :::47982                :::*                    LISTEN
tcp6       0      0 :::8080                 :::*                    LISTEN
tcp6       0      0 :::21                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 :::445                  :::*                    LISTEN
tcp6       0      0 :::7070                 :::*                    LISTEN


alfresco-global.properties
authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1Smiley Tongueassthru
cifs.enabled=true
cifs.serverName=xxxx
cifs.broadcast=10.11.x.x
cifs.WINS.primary=10.11.x.x
cifs.disableNIO=no

telnet localhost 445
Trying ::1…
Connected to localhost.
Escape character is '^]'.

remote machine:
telnet xxx 445
onnecting To xxxx…Could not open connection to the host, on port 445: Connect
failed


Firewall policy:
iptables -vL
Chain INPUT (policy ACCEPT 3946K packets, 4556M bytes)
pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 2885K packets, 2307M bytes)
pkts bytes target     prot opt in     out     source               destination
1 REPLY 1

roshan
Champ in-the-making
Champ in-the-making
I got it working because for some reason JAva/alfresco did not like external connections to that port.  SO i used it on ports 1145, 1138,1137,1139 and used IP forwarding as noted here.