diff --git a/examples/test-launch.c b/examples/test-launch.c
index fb863ec..c2f77b2 100644
--- a/examples/test-launch.c
+++ b/examples/test-launch.c
@@ -43,6 +43,9 @@ main (int argc, char *argv[])
   /* create a server instance */
   server = gst_rtsp_server_new ();
 
+  /* set the listening port */
+  gst_rtsp_server_set_port(server,8554);
+
   /* get the mapping for this server, every server has a default mapper object
    * that be used to map uri mount points to media factories */
   mapping = gst_rtsp_server_get_media_mapping (server);
diff --git a/examples/test-mp4.c b/examples/test-mp4.c
index a7756e2..8ece628 100644
--- a/examples/test-mp4.c
+++ b/examples/test-mp4.c
@@ -42,6 +42,9 @@ main (int argc, char *argv[])
   /* create a server instance */
   server = gst_rtsp_server_new ();
 
+  /* set the listening port */
+  gst_rtsp_server_set_port(server,8554);
+
   /* get the mapping for this server, every server has a default mapper object
    * that be used to map uri mount points to media factories */
   mapping = gst_rtsp_server_get_media_mapping (server);
diff --git a/examples/test-ogg.c b/examples/test-ogg.c
index 5847b85..a420e7b 100644
--- a/examples/test-ogg.c
+++ b/examples/test-ogg.c
@@ -42,6 +42,9 @@ main (int argc, char *argv[])
   /* create a server instance */
   server = gst_rtsp_server_new ();
 
+  /* set the listening port */
+   gst_rtsp_server_set_port(server,8554);
+
   /* get the mapping for this server, every server has a default mapper object
    * that be used to map uri mount points to media factories */
   mapping = gst_rtsp_server_get_media_mapping (server);
diff --git a/examples/test-readme.c b/examples/test-readme.c
index 977fcb0..5928d13 100644
--- a/examples/test-readme.c
+++ b/examples/test-readme.c
@@ -36,6 +36,9 @@ main (int argc, char *argv[])
   /* create a server instance */
   server = gst_rtsp_server_new ();
 
+  /* set the listening port */
+  gst_rtsp_server_set_port(server,8554);
+
   /* get the mapping for this server, every server has a default mapper object
    * that be used to map uri mount points to media factories */
   mapping = gst_rtsp_server_get_media_mapping (server);
diff --git a/examples/test-sdp.c b/examples/test-sdp.c
index 64113c5..9eff6f5 100644
--- a/examples/test-sdp.c
+++ b/examples/test-sdp.c
@@ -55,6 +55,9 @@ main (int argc, char *argv[])
   /* create a server instance */
   server = gst_rtsp_server_new ();
 
+  /* set the listening port */
+  gst_rtsp_server_set_port(server,8554);
+
   /* get the mapping for this server, every server has a default mapper object
    * that be used to map uri mount points to media factories */
   mapping = gst_rtsp_server_get_media_mapping (server);
diff --git a/examples/test-video.c b/examples/test-video.c
index 5ed8b1d..54375ca 100644
--- a/examples/test-video.c
+++ b/examples/test-video.c
@@ -49,6 +49,9 @@ main (int argc, char *argv[])
   /* create a server instance */
   server = gst_rtsp_server_new ();
 
+  /* set the listening port */
+   gst_rtsp_server_set_port(server,8554);
+
   /* get the mapping for this server, every server has a default mapper object
    * that be used to map uri mount points to media factories */
   mapping = gst_rtsp_server_get_media_mapping (server);
