curl - connection refused

I am trying to curl and its failing both on localhost & on the remote host.

[[email protected]]# curl curl: (7) Failed connect to; Connection refused   [[email protected]]# apachectl httpd (pid 22252) already running  [[email protected]]# netstat -anp | grep http tcp6       0      0 :::8087                 :::*                    LISTEN      22252/httpd unix  3      [ ]         STREAM     CONNECTED     26124409 22252/httpd 

Does this mean that port 8080 isn't listening ?? curl is successful is I try it with port 8087.. I need it to work on port 8080


$less /etc/services | grep 8080  webcache        8080/tcp        http-alt        # WWW caching service webcache        8080/udp        http-alt        # WWW caching service 


Category: rhel Time: 2016-07-29 Views: 3
Tags: http curl rhel

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.127 (s). 12 q(s)