0
Apache thrift를 사용하여 PHP-JAVA 브리징을 사용하고 있습니다. 자바 서버 파일은 일부 포트 xxxx에서 PHP 클라이언트가 액세스합니다.오류 [13] : 액세스가 거부되었습니다 - Apache Thrift가 PHP 클라이언트를 생성했습니다
이 Windows에서 잘 작동,하지만 난에 CentOS 6을했을 때 아래처럼 그 나에게주는 액세스, 뭔가를해야만 오류를 거부 :
Fatal error: Uncaught exception 'TException' with message 'TSocket:
Could not connect to localhost:xxxx (Permission denied [13])'
in /var/www/html/Thrift/transport/TSocket.php:229
Stack trace: #0 /var/www/html/Thrift/transport/TBufferedTransport.php(82):
TSocket->open() #1 /var/www/html/FileGateway.php(19): TBufferedTransport->open()
#2 {main} thrown in /var/www/html/Thrift/transport/TSocket.php on line 229
777 그러나 그것으로 파일 권한을 변경 시도 작동 안함. 여기에 어떤 문제가 있습니까?