Skip to content

Commit

Permalink
Change localhost number for tracking API to 7800
Browse files Browse the repository at this point in the history
From 8000 to avoid REopt_API localhost number conflict
  • Loading branch information
Bill-Becker committed Feb 1, 2025
1 parent 2de1984 commit b1f3159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/reopt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ function run_reopt(m::JuMP.AbstractModel, p::REoptInputs; organize_pvs=true)
)

headers = Dict("Content-Type" => "application/json")
HTTP.post("http://localhost:8000/reopt/post/", headers, JSON.json(track_data))
HTTP.post("http://localhost:7800/reopt/post/", headers, JSON.json(track_data))
catch #e
@warn "Could not post tracking data to REopt API"
#@info e.message
Expand Down

0 comments on commit b1f3159

Please sign in to comment.