Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am getting following error when running a program

2011/07/06 18:21:08 stat http error: dial tcp localhost:3179: dial tcp 127.0.0.1:3179: connection refused
2011/07/06 18:21:08 Error putting file: stat http error: dial tcp localhost:3179: dial tcp 127.0.0.1:3179: connection refused

What can be the reason for this

share|improve this question
2  
I think you need to provide us with more details. What are you trying to do? What software are you running? What operating system are you using? Do you expect something to be listening on port 3179? Is it running? –  larsks Jul 6 '11 at 18:35

1 Answer 1

up vote 2 down vote accepted

without a more detail I would say that nothing is listening on port 3179 on localhost. If you're in Linux do

'netstat -an|grep :3179'

to see if any process is attached to that port. If in Windows there's a similar command (without the grep) to see the same info I think - consult our local windows manual :)

share|improve this answer
    
The Windows notation is netstat -an | find /I ":3179" –  the-wabbit Jul 6 '11 at 21:03
    
This is a very handy Linux command. –  rcd Apr 6 at 16:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.