21 |
22 | > codevis.exe C:\Framework\System.Core.dll 23 | > codevis.exe C:\Framework\System.Data* 24 | > codevis.exe MyAssembly System.Core System.Linq -p:C:\framework\;c:\myfolder 25 |26 | 27 |
21 |
22 | > codevis.exe C:\Framework\System.Core.dll 23 | > codevis.exe C:\Framework\System.Data* 24 | > codevis.exe MyAssembly System.Core System.Linq -p:C:\framework\;c:\myfolder 25 |26 | 27 |
Another instance of this application or some othe service is listening to port 8080. You can close this application or mofify code (a constant in Program.cs file) and recompile this application to use another port.
28 | This application listens to http://localhost:8080/. By default, listening at a particular HTTP address requires administrator privileges.
29 |
31 | When you run it, therefore, you may get this error: "HTTP could not register URL http://+:8080/" 32 |
33 |34 | There are two ways to avoid this error: 35 |
36 |41 | To use Netsh.exe, open a command prompt with administrator privileges and enter the following command:following command: 42 |
43 |netsh http add urlacl url = http:/+:8080/ user=machine\username
44 | 45 | When you are finished self-hosting, be sure to delete the reservation: 46 |
47 |//+:8080/48 |
50 | This application listens to http://localhost:8080/. By default, listening at a particular HTTP address requires administrator privileges.
51 | There is an entry in app.manifest which eforces that:
52 |
53 | <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> 54 | <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> 55 | </requestedPrivileges> 56 |57 | If you remove it (and recompile) you will either need to start it using "Run as Administrator" or you will need to run
netsh as described above.
58 |
59 |
118 |
133 |
134 |