Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
server connection
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Barry Sperling, post: 4456085"] Thank you Brian and S&G, But I haven't gotten much further. The "netstat - a" gave me a list of ports that were "Active Connections" and 80 was one of the ones that the server was listening on, though the only 2 that were established were 2472 and 2473. For connections with port 80, on my computer or to others, the same error pops up: Only one usage of each socket address (protocol/network address/port) (Errno::EADDRINUSE) is normally permitted. - bind(2) from Chat_Server.rbw:6:in `new' from Chat_Server.rbw:6 As I said, I believe that I am trying to contact an Apache server within an Oracle installation and the Oracleora81HTTPSerever service has been started. This code is sufficient to generate the error: require 'socket' host, port = '127.0.0.1', 80 server = TCPServer.new(host,port) Thanks again for your time and if anything occurs to anybody about my problem I'd appreciate a suggestion. Barry [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
server connection
Top