WSAEACCES An attempt was made to access a socket in a way forbidden by its access permissions
Question:
Do you have any idea what I could do to get around the following error that is generated by Chilkat DLL? I have verified that I can run PHP scripts (i.e., version()) through the port 3017 in localhost, so IIS and PHP are configured properly. The lcUrl = loOauth2.StartAuth() function call kicks up the WSAEACCESS error. I can see with netstat that port 3017 is listening, and I have tried temporarily disabling any virus software and windows firewall, and I made sure our Cisco firewall hardware is configured to allow port 3017 communications.
This is the error:
ChilkatLog: StartAuth: DllDate: Aug 25 2018 ChilkatVersion: 9.5.0.75 UnlockPrefix: Anything for 30-day trial Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0 bindAndListen: port: 3017 backlog: 5 listenOnPort: SocketError: WSAEACCES An attempt was made to access a socket in a way forbidden by its access permissions. Socket bind failed. --listenOnPort listenPort: 3017 Failed. --bindAndListen Failed. --StartAuth --ChilkatLog_
Answer:
Port 3017 was being used by some system service, but 3018 worked, and I got the access token.
admin
0
Tags :