Re: Cannot run exe from asp.net Programming Web Development by lennyli …settings versus Visual Studio. > > Why the port number is different > When you run your site …0.0', 9999)) # Listen on all interfaces on port 9999 server_socket.listen(1) print("Waiting for a … SSL/TLS). - Ensure the firewall settings allow the specified port (9999 in this case). (LENNY:) OK NOW, I connect… Re: I’m trying to set up remote access using DDNS (No-IP) on my home net Hardware and Software Networking by trcooke … case you will need to configure Port Forwarding on your router. What Port Forwarding does is tell the router … receive a request for port x, please forward it to this IP and port on the local network"…be the same, so you could configure requests for port 8090 to forward to 192.168.0.25:80…Router model to learn how to configure port forwarding. Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 … in how IIS reads settings versus Visual Studio. Why the port number is different When you run your site in Visual… or IIS Express), which picks a random port. In production, IIS will usually use port 80 or 443. Best approach If you… Cannot run exe from asp.net Programming Web Development by lennyli … visual studio code will launch the site with a certain port number, while your previous discussion 13 years ago suggested to… use the session state to run at a different port. Thank you for reading! Re: I’m trying to set up remote access using DDNS (No-IP) on my home net Hardware and Software Networking by rproffitt Many if not most ISPs block port 80. More at https://www.google.com/search?&q=port+80+inbound+blocked+by+ISP This has been my finding for over a decade. I’m trying to set up remote access using DDNS (No-IP) on my home net Hardware and Software Networking by gowtham_6 DDNS is configured correctly and the hostname works locally, but I can’t access it from outside my network. Remote management is enabled and set to port 80. Any idea what I might be missing? Re: I’m trying to set up remote access using DDNS (No-IP) on my home net Hardware and Software Networking by Dani … the router that is blocking. Most routers these days block port 80 by default. This might be the router built into… Re: Cannot run exe from asp.net Programming Web Development by pritaeas > while at the same time run the same exe on the local client pc. Not possible. Re: Cannot run exe from asp.net Programming Web Development by pritaeas No, Javascript cannot run/start executables on the client machine. Re: Cannot run exe from asp.net Programming Web Development by rproffitt I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . You can get there. Re: Cannot run exe from asp.net Programming Web Development by lennyli Why does the following code dont run and launch the exe I specify (eg, notepad.exe, or ribbons.scr)? <%@ Language="VBScript" %> <!DOCTYPE html> <html> <Body> <% Dim objShell Dim command Dim result ' Path to the executable command = "C:\… Re: Cannot run exe from asp.net Programming Web Development by pritaeas Are you sure IIS is configured to allow running external scripts? Re: Cannot run exe from asp.net Programming Web Development by lennyli > Are you sure IIS is configured to allow running external scripts? The document folder and asp file has security permission set to ALL rights for 'everyone'. In IIS, under handler mappings for .asp files, under request restriction/access, script was chosen (not execute) for feature permissions, all 'read' 'script' 'execute' are chosen Re: Cannot run exe from asp.net Programming Web Development by lennyli > I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. > > For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . > > You can … Re: Cannot run exe from asp.net Programming Web Development by john_111 Let me expand on what rproffitt said, by explaining why. If a webpage could run a program installed on another computer, the entire world wide web would be hacked into tiny pieces and cease to exist. No one would ever use the web, it would be so totally insecure. So web pages are prohibited from running programs on your computer. They can … Re: Cannot run exe from asp.net Programming Web Development by Salem https://xyproblem.info/ * User wants to do X. Sometime later... > My boss just asked me to create a prototype as proof of concept. There is no specific language/tool I must use * User asks for help with Y. Initially asked... > Have a webpage with a button, when pressed, it will launch a webpage that runs a server side exe (eg, … Re: Cannot run exe from asp.net Programming Web Development by Reverend Jim >No, Javascript cannot run/start executables on the client machine. Technically correct but there are ways around it. For example, save a file in a special folder on the target computer, which has a folder watch on that folder. The watching task could then trigger a local task. Re: Cannot run exe from asp.net Programming Web Development by gediminas.bukauskas.7 Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Re: Cannot run exe from asp.net Programming Web Development by lennyli > Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Sure, I understand, but for my above new … Re: Cannot run exe from asp.net Programming Web Development by Salem > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. So did it even give you `print("Waiting for a connection...")` ? Consider making your server main like this. if __name__ == "__main__": print('Server Begin') … Re: Cannot run exe from asp.net Programming Web Development by lennyli > > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. > > So did it even give you `print("Waiting for a connection...")` ? > > Consider making your server main like this. > > if __name__ == "__main__": >… Re: Cannot run exe from asp.net Programming Web Development by lennyli I fixed the problem by ensuring the path is including python. Also on the server I must run pip install Thank you all All working now Re: Cannot run exe from asp.net Programming Web Development by Salem Congrats on getting going. > Even if i run the setup and ticked the option "add to path", the echo %PATH% command didnt seem to show what i expected. Yeah, this won't transform the PATH of any existing process. In increasing annoyance order, you may have to: 1. Start a new cmd window 2. Log out and log in again 3. Reboot … Re: Cannot run exe from asp.net Programming Web Development by Dani Marking this question as solved. Thanks all! Re: I’m trying to set up remote access using DDNS (No-IP) on my home net Hardware and Software Networking by trcooke Did any of our suggestions help you? Re: Port number, ip address, computer name Hardware and Software Microsoft Windows by Naveen port nos. vary depeding on the protocol using them. in command prompt u can run "netstat -a" to see what protocols are running,their port nos. their conn. status etc. port scanner???? Programming Software Development by willygstyle … to " + address + " on port " + str(port)) try: s.connect((address, port)) print("Connected to server " + address…#print("Connecting to " + address + " on port " + str(port) + " failed") return False def scan_server2(self, address… Re: port scanner???? Programming Software Development by willygstyle … __init__(self, host, port): Thread.__init__(self) # host and port self.host = host self.port = port # build up the …while threading.activeCount() < MAX_THREADS: Scanner(host, self.port).start() self.port += 1 if __name__ == "__main__": blah =… Re: port scanner???? Programming Software Development by The_Kernel …: item = self.port_queue.get() if item is False: break address, port = item s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: s… port forwarding through a dsl modem Hardware and Software Networking by qavo …have configured using Tomcat standalone technology. It runs on port 5050 and works as expected in "localhost"…and the router software allows one to divert designated port traffic to an local network IP address. The following…: TCP (also offered UDP and BOTH) port start: 80 port end: 80 port map: 5050 When an external web web user…