Not able to start novnc on Windows 2008 # port 80 - websocket

I have started noVnc on windows using port 6080 and its working fine. Now I would like to start on port 80 and but script shows error on start.
"socket.error: [Errno 1] Operation not permitted"
I tried the following command: utils/launch.sh --listen 80 --vnc localhost:5900
Please let me know how can I fix it, I don't have any IIS installed on windows 2008 R2 machine.
Thanks,
Laxmilal Menaria

Ports less than 1024 are considered privileged so you must have administrative privilege when you run something that wants to use them.
See this answer about using runas.exe: How to run an application as "run as administrator" from the command prompt?

Related

Is it possible in vscode liveshare to share port 443 (https)?

I'm trying to share the port 443 from my development machine (win10) to my laptop (os x) using the amazing Live Share feature of Visual Studio Code.
On the dev machine I can access the service (running behind an nginx reverse proxy), so server is running fine.
VS Code doc mention a 1:1 mapping for the port "unless it's already in use".
Checking with sudo lsof -P -i TCP -s TCP:LISTEN on the mac, I can confirm 443 is not in use.
But the port on the mac is mapped to a random port (50150 in this case) instead of 443.
I guess I'm lacking some rights to open a sub 1000 port on os x.
Does anyone know what I can do (I mean other then running vscode as root)
Thanks
Short answer (for anyone who would find this later) : not possible!
Restricted ports are ... restricted.
And as I said in the question i don't want to run vscode as root.
But what I ok to run as root is a small utility to do port forwarding.
So I'm now using portforward (npm -> https://www.npmjs.com/package/portforward ) to do just that, and everything works fine.

Unable to find the processes that uses a certain port on Windows 10

unforuneatelly I am not able to start any process on port 2022 on my computer. I'm using Windows 10 Enterprise 1803. I tried to start an IIS site on that port and got an "HRESULT: 0x80070020" error. The same happens when I start an angular "ng serve" on that port.
I tried to find out what process is using that port via netstat -ano | find ":2022" but that gave no output at all (works for other ports). The Windows Resource Manager does not show that port eigther.
Sometimes if I'm lucky after re-adding the site to IIS and reboot the IIS can start on that port.
You should not simply filter on port number, like 2022: "netstat" sometimes returns ranges or wildcards, check the entire "netstat" result if any range or wildcard might cover your 2022 port.

Port 8005 is used By Windows 10 System Process

Since today, the port 8005 is used for a Windows System Process. When i try to acces to the url http:localhost:8005 ,i can see a Blank Web Page, with no code and no info from any Web Server (No welcome web page or similar).
With the netstat command i can see that the process that uses this port is System process. Any idea why windows is using suddenly this port?
EDIT: Not duplicate question. I don't have another Tomcat installation, the problem comes from a windows process, not for another tomcat instance.
Check if port 8005 is really in use by Windows :
Install and run Sysinternals TCPView and
Check if the line with "Local Port" 8005 has as "Process" System
Or check the file c:\Windows\CCM\Logs\DeltaDownload.log for port 8005
If the port is in use by system, go to Computer Management and stop the service "SMS Agent Host" or open a command prompt as administrator and type:
sc stop CcmExec
The problems comes from a Windows Service:
https://www.niallbrady.com/2017/02/15/how-can-i-use-express-updates-when-patching-windows-10-with-quality-updates-in-system-center-configuration-manager-current-branch/
Not from another Tomcat instance.
I too was facing the same with windows 10 and ran the command netstat -a -b which showed CmRcService.exe is using the port 8005 on the machine.
The most weird part is sometimes if i hit localhost:8005 in the browser url its asking for username and password to access the page and in the developers tools I cannot see any application name or data whatsoever

Jenkins windows slaves not launching

Am Using Jenkins, where so many windows machine i have integrated,but at the same all the windows machine got disconnected could not able to launch slave in windows machine,tried all possibilities like
1) slave.jar version upgrade
2)Java_home_path changes
but my doubt is with port, am getting error while launching that slave as follows
enter image description here
So how to connect windows slave , Hope it may be the issue with port connection.TCP port 443 used but getting error. Please suggest good idea.

XAMPP not running on Windows 7

I have installed XAMPP on Windows 7 ulimate successfully. But the following error was found during running Apache from XAMPP Control Panel:
Problem detected!
Port 3306 in use by ""C:\Program Files\MySQL Server 5.1\bin\mysqld" - defaults-file....
MySQL WILL NOT start without the configured ports free
You need to uninstall/disable/reconfigure the blocking application
or reconfigure my SQL and the Control Panel to listen on a different port
Please help solve this problem. Thanks in advance!
The message clearly says the port 3306 is being used by MySQL server. So XAMPP fails to bind to the same port.To launch XAMPP successfully, kill the MySQL server process. Then try restarting XAMPP.

Resources