Jump to content

Linux client connection refused on port 80


Recommended Posts

Guest boomer11
Posted

Greetings,

 

I have a C program running on linux that I am using to try to connect to a server (on the same network) to pull some data. I have freeware that does the hardwork (creates the socket, connects, reads/writes). I am trying to connect over port 80 (http). At the time of the socket "connect" I get a "connection refused" (looking at errno). Why would this be? Curious that when I use port 8443 the connection is made. Why would I get a connection refused on port 80? I ran chkconfig and I dont have iptables enabled. Is there some other linux security feature that can block me reaching out to another host on port 80?

 

thanks,

Bill

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...