Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Socket connection refused problem

by andal (Hermit)
on Feb 01, 2011 at 08:38 UTC ( #885438=note: print w/replies, xml ) Need Help??

in reply to Socket connection refused problem

If you do "ping localhost" you'll see which IP address is really used. Normally it is which is the address that is used only within the same machine. Using this address you can't connect from one machine to another. For this each machine must have another IP address, and if everything is setup correctly, then the name associated with that address is reported by command 'hostname'.

So, just make sure that both scripts use the same IP address, and that IP address is not the "local" one.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://885438]
[marto]: Hey there
[Marshall]: hope we get a good answer to Script stopped working... this OP is making serious efforts to solve problem on his own.
[Marshall]: I've become frustrated lately with some OP's.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2018-03-18 12:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (230 votes). Check out past polls.