[問題] 請問如何在C# get URL?

看板C_Sharp (C#)作者 (休息中)時間8月前 (2023/08/15 19:15), 編輯推噓1(100)
留言1則, 1人參與, 8月前最新討論串1/1
我是用 Request.Url.AbsoluteUri 去get URL,可是我發現我get到的不是 https://mycompany.abc.com/ 而是 http://192.168.12.33 請問asp.net MVC 要怎樣get到 https://mycompany.abc.com/ 因為如果網址換成 https://mycompany.abc.com/ 就會完全get不到 -- 沒有醬汁的料理沒有試吃的必要 就如同 沒有配音員的角色就只是個軟體 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 125.227.250.187 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1692098104.A.C53.html

08/23 08:50, 8月前 , 1F
因為對方是透過ip 知道位子啊
08/23 08:50, 1F
文章代碼(AID): #1asruunJ (C_Sharp)
文章代碼(AID): #1asruunJ (C_Sharp)