This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I have an http server that listens on port XXXX where XXXX is not 80 or 8080. Wireshark does not recognize the traffic to the server as http. What can I do to map port XXXX to http.

asked 01 Jul '12, 14:52

dheerajrs's gravatar image

dheerajrs
16112
accept rate: 0%

Maybe a patch is required to automatically do this?

(12 May '13, 15:38) gak

The non-standard http port can be specified by setting one of the HTTP preferences

In Wireshark do:

Edit ! Preferences ! Protocols ! HTTP

permanent link

answered 01 Jul '12, 15:00

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%

This works but only with HTTP and SSL.

(12 May '13, 15:38) gak

In order to specify this on the command line, you can use: wireshark -o http.ssl.port:4433 (port 4433 for HTTPS) and wireshark -o http.tcp.port:8080 (port 8080 for HTTP). It should also be possible to specify range (8080-8082,8084), but I haven't tested that.

(13 Sep '13, 05:17) Lekensteyn

For HTTP, you can add additional ports in the HTTP preferences as Bill explained. In a more general manner you can always use "Decode As..." to specifically decode some traffic as a certain protocol. You can rightclick on a packet and choose "Decode As...".

permanent link

answered 01 Jul '12, 22:25

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%

do edit the preferences file, add the specified port no in the list of pre-configured port nos list.That will solve the problem.

permanent link

answered 15 May '13, 22:24

Sanny_D's gravatar image

Sanny_D
0182021
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×293
×69
×4

question asked: 01 Jul '12, 14:52

question was seen: 33,861 times

last updated: 13 Sep '13, 05:17

p​o​w​e​r​e​d by O​S​Q​A