Saturday, April 29, 2023
HomeGolangExactly how to run the Go internet application at Windows web server...

Exactly how to run the Go internet application at Windows web server – Obtaining Assistance

I’ve my go app the is running an internet API and also functioning efficiently at my laptop computer.

enter image description here

I check out this and also finished the IIS configuration utilizing a config data:

<< setup>>.
<< system.webServer>>.
<< revise>>.
<< regulations>>.
<< policy name=" ReverseProxyInboundRule1" stopProcessing=" real">
<> < suit link="(. *)"/>>.
<< activity kind=" Revise" link=" http://localhost:9000/ {R:1}"/>>.

As well as replicated the assembled data at the very same place, once I opted for the link I obtained absolutely nothing, and also as soon as I run the exe data I obtained it ended promptly!

Any type of concept exactly how to be able to run this execuatble data at MS web server.

enter image description here


If I eliminated the binding at the web server, after that the application is functioning penalty, it looks this binding procedure is obstructing the port!

Hi Every Person,
To run a Go internet application on a Windows Web server, you can comply with these actions:

  1. Set Up Go: Download And Install and also set up the most recent variation of Go for Windows from the main web site.
  2. Establish the GOPATH atmosphere variable: Establish the GOPATH atmosphere variable to the course where you intend to save your Go jobs.
  3. Install Git: Download And Install and also set up Git for Windows if you prepare to utilize Git to handle your Go task's resource code.
  4. Duplicate or download and install the Go task: Duplicate or download and install the Go task from a resource code database such as GitHub.
  5. Develop the Go task: Open up the Command Motivate and also browse to the task's directory site. Make use of the "go construct" command to construct the Go task.
  6. Run the Go task: Make use of the "go run" command to run the Go task. By default, the Go internet application will certainly pay attention on port 8080. You can define a various port utilizing the -port flag.
  7. Set up an internet server: To make the Go internet application available from the net, you will certainly require to set up an internet server such as IIS or Apache to onward demands to the Go application.
  8. Examine the application: Open up an internet internet browser and also browse to the web server's IP address or hostname to evaluate the Go internet application.

These actions must enable you to run a Go internet application on a Windows Web server. Keep in mind that the specifics of these actions might differ relying on the particular variation of Windows Web server and also the Go task you are running. I really hope question will certainly be dealt with out after using the adhering to procedure step-by-step.

1 Like


Most Popular

Recent Comments