How to change the RTMPS port in Ant Media Server? - streaming

It seems that RTMPS port for Ant Media Server is 8443.
How can I change the RTMPS port to something else?

You need to change RTMPS configuration parameters in /usr/local/antmedia/conf/red5.properties.
Here is the example:
rtmps.port=portNumber
You should restart Ant Media Server after this change.
Please check this guide for more detail.

Related

VSCode and Live Server - change port

Trying to configure Live Server to properly launch and connect to web pages on my local machine in VSCode .However, I seem unable to set the port I want to run live server on. When I accept the default port (chosen by the extension itself) I get ERR_UNSAFE_PORT from both Chrom and Firefox.
I have tried changing the settings, but its seems to be ignoring anything I put in there. Can someone please advise ?
Here is a screenshot of where I am trying to set the port..
Thanks..
P.S It does not matter what value I use for the port (2000 here just as an example.) Whatever you put in is ignored. tried various,, 8080 etc..
https://github.com/ritwickdey/vscode-live-server/issues/2611
May local config overrides the global config?

Expose Ngrok Web interface in same LAN

I have some issue to configurate Ngrok.
I have installed the Ngrok on linux CentOS server dedicated (IP 192.168.1.124), it works correctly the tunneling is ok.
My question is: how i can reach the web page on 127.0.0.1:4040 in order to check the traffic on my Ngrok server?
The web interface page is only accessible on the server where ngrok is running, but if this is a linux minimal server (without gui and any type of browser) I can't see it.
is there a way to make it accessible also in LAN?
e.g. I have another client that can reach the IP where ngrok is running but if i put on web browser http:\192.168.1.124:4040 nothing is showing.
I see from netstat that this port is not listening so isn't a firewall problem or other.
Is possible to change config of Ngrok? otherwise are there other possibilities ? do i have to use a reverse proxy or something like?
Any ideas?
thanks for your help,
Luca
Locate your ngrok's config file:
$ ngrok config check
Valid configuration file at /home/youruser/.config/ngrok/ngrok.yml
Add to the config file the following line:
web_addr: 192.168.1.124:4040
In case you want to expose it to all interfaces, you can replace that value with 0.0.0.0:4040

How to change port on jboss version jboss-5.1.0.GA

I am trying to change the ports of my jboss server to run on port 80.
I've tried what feels like everything: editing the server.xml file, editing the C:\jboss-5.1.0.GA\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml file to no avail.
Is there another way that I'm missing because I can only access my server via port 8082.
Yes, to change ${JBOSS_HOME}/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml is the answer, as pointed out in another question
But also change:
1. server.xml file at $jboss/server/jboss-ports-01/deploy/jbossweb.sar to the port you need
Verify also ${jboss.service.binding.set:ports-default} setting the correct binding as in ${jboss.service.binding.set:ports-PORT}
This reference brings more information about it as well.

How can I monitor HTTP traffic from BlueStacks?

I want monitor HTTP traffic from BlueStacks so that I can debug web analytics tracking - any idea how?
For example, my application calles my server. I want to know what actual API my application actually called during testing.
I do not see any HTTP requests in Fidller even when using the BlueStacks.
I thought fiddler capture all internet request done by any software.
Actually you can use fiddler. You see, fiddler configures the winINET proxy to go through it (the one used by internet explorer and all other microsoft software, but sometimes even third pary software uses winINET proxy config - that is why some programs just magically work with fiddle). Some programs ignore wininet config completly and have their own method of setting a proxy (like firefox, chrome). And other programs, like bluestacks, have no support for proxy at all.
But you can force BlueStacks to go through the fiddler proxy. A tool which can do that, and which has a tutorial on this, is ProxyCap:
http://www.proxycap.com/bluestacks.html
Just use 127.0.0.1 as server and 8888 as port number in configuration of the proxies in proxycap. You must also add HD-Agent and HD-Frontend executables in the rules, as specified in the last part of the step-by-step guide.
Unfortunately, proxycap is a 30 day trial. You can use free proxifiers out there. Find something that supports http.
http://en.wikipedia.org/wiki/Comparison_of_proxifiers
I did manage to make this work with proxyCap myself and haven't tried anything else yet.
I think this is better for http traffic sniffing than wireshark which is for lower level network sniffing
Use ProxyCap to let Fiddler capture the trafic.
ProxyCap forwards all Bluestack communication to HTTP proxy (in this case our proxy is Fiddler).
The full step-by-step guide, how to redirect the Bluestack application traffic through proxy, is HERE.
Use 127.0.0.1:8888 as proxy address. That is the address of Fiddler on the local computer.
Today I tried Fiddler - ProxyCap - BlueStacks. It didn't work at first. After I added "HD-Plus-Service.exe" everything was Okay. It seems like new bluestacks versions don't use HD-Network.exe? Anyway my program list includes:
HD-Service.exe
HD-Agent.exe
HD-Frontend.exe
HD-Network.exe
HD-Plus-Service.exe
HD-LogRotatorService.exe
In 2019, Fiddler has been updated to support Proxy, just set up your BlueStacks to use Fiddler's proxy and you can capture all HTTP/HTTPS traffic going out from it.
In addition, for latest Bluestacks3 version here are the list of apps you need to add to your both program lists:
HD-Agent.exe ( from "C:\Program Files\Bluestacks\" )
HD-Player.exe ( from "C:\Program Files\Bluestacks\" )
Bluestacks.exe ( from where you installed Bluestacks )
Fiddler has a documentation regarding how to capture traffic of Android devices: https://docs.telerik.com/fiddler/configure-fiddler/tasks/ConfigureForAndroid. You can use the same config for bluestack

How do I check and set the URL and port number for JBoss 5?

How do I check and set the URL and port number for JBoss 5? I have a existing JBoss installation in a zip file that I am trying to use. How do I find out what URL and port number I need to type in my browser to access it when it's running? How would I go about modifying this setting to change the URL and port number?
I'm running this in windows 7.
I solved my problem by finding in the file /jboss.5.1.0.ga/server/default/jbossweb.sar/server.xml the HTTP connector was commented out so it was using the AJP connector. I enabled the HTTP connector and was able to connect to jboss using the standard http://localhost:8080 address. I believe you can change the port number as well as the URL in this same area.