Koozali.org: home of the SME Server

ANZ E-Gate for Commerce requires port 9050

mizou

ANZ E-Gate for Commerce requires port 9050
« on: December 15, 2004, 07:23:13 AM »
Hi,

I am currently "trying" to set up my ANZ E-Gate for online credit card transactions. (Using osCommerce)

Part of the php code for the anz payment module requires "Payment Client Port" to use port 9050.

When I try to connect (during checkout process), I get a message
(45)Failed to create a socket connection to Payment Client - Host:127.0.0.1 Port:9050

Can anyone advise me if this is a standard open port on SME 6.0.1 and/or could opening this port expose the server to potential problems and/or I am using the proper IP 127.0.0.1 or should it be by external IP or my SME local IP?

 :-? Any help appreciated :-?

Thank you

Mizou

Damian

ANZ E-Gate for Commerce requires port 9050
« Reply #1 on: December 21, 2004, 12:41:14 AM »
Hi Mizou,

I don't know the application but the general IP rules apply to all.

AFAIK port 9050 isn't used on SME (or many other systems) so it shouldn't conflict with anything.

Your error:
When I try to connect (during checkout process), I get a message
(45)Failed to create a socket connection to Payment Client - Host:127.0.0.1 Port:9050

suggests that the software isn't running (and listening for connections on port 9050). To check, as root on the SME server run:
netstat -a | grep 9050
or if you've added an entry to /etc/services which identifies 9050 as a servicename the try:
netstat -a | grep servicename-you-created

If those commands don't show anything then it's probably not running (to be absolutely sure try "telnet localhost 9050"    that should try to talk to the daemon directly).

Anyhow, it seems that the application and the web server all run locally (on SME) so you don't need to open ports - it won't help you and it'll invite connections from the 'net  :-o

Damian