Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 971839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:01:40+00:00 2026-05-16T03:01:40+00:00

I wrote a simple WebServer using HttpListener class (.net 2.0) It seems that It

  • 0

I wrote a simple WebServer using HttpListener class (.net 2.0)

It seems that It doesn’t work on port other then 80.

When i sniff the transport to my server i can see the Syn packets on Port 8080 arrive to the server, but there is no Syn/Ack response, although when i sue netstat -a i can see that the server is listening to port 8080 (i verified that my application is the one that listens)

HttpListener server = new HttpListener()
server.Prefixes.Add("http://192.168.4.133:8080/");
server.Start();
_log.Write("Waiting for a connection... ");
HttpListenerContext context = server.GetContext();
HttpListenerRequest request = context.Request;
HttpListenerResponse response = context.Response;
_log.Write("Got request for " + request.RawUrl);

the above code doesn’t receive any Context (stuck at the line server.GetContext())
if i change the Prefix to “http://192.168.4.133/”
the above code works perfectly.

when i am testing it on Port 80, i am killing the IIS services, and making sure that my application is the one that listen to the relevant port.

i am running this on XP, so i don’t think it is security issues….but you never know..
i have read about the httpcfg tool, but didnt really understood it…

is there something inherntly diffrent between listening on port 80 to listening on other ports? 8080 or even better another random user port?
Thanks,
Itay

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:01:41+00:00Added an answer on May 16, 2026 at 3:01 am

    I’d suggest checking your firewall, and if you don’t find anything — try to run another server on 8080 and check if it’s working (so you know that it’s the port, not the server).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 496k
  • Answers 496k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You would have to program it yourself. If you implement… May 16, 2026 at 11:31 am
  • Editorial Team
    Editorial Team added an answer A coroutine is a specific implementation technique. What you want… May 16, 2026 at 11:31 am
  • Editorial Team
    Editorial Team added an answer You have two errors in this: You have to double… May 16, 2026 at 11:31 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I wrote the same program two ways. One using a Surfaceview, and the other
I'm using HttpListener to provide a web server to an application written in another
We're implementing a new solution in our classic ASP environment that's using COM interop
I'm trying to write a simple GUI application using Qt framework. The purpose of
I wrote a simple PyGTK script to show some basic process information in a
I wrote a python script that rotates an image 90 degrees. I am including
So I have this .htaccess file in the /blog/ folder on my webserver and
I'm using a web service for passing information from a bunch of old .asp
I'm writing a simple flight reservation application for one of my homeworks. My flight
I'm using Lua inside a C application, and I have two tables. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.