# About the link\_to\_remote

**URL:** <https://www.ruby-forum.com/t/about-the-link-to-remote/103124>\
**Category:** Rails\
**Created:** [May 2, 2007, 2:33am UTC](https://www.ruby-forum.com/t/about-the-link-to-remote/103124 "2007-05-02T02:33:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent.Z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/90db22/32.png) [@Vincent.Z](https://www.ruby-forum.com/u/Vincent.Z)\
**Post date:** [May 2, 2007, 2:33am UTC](https://www.ruby-forum.com/t/about-the-link-to-remote/103124/1 "2007-05-02T02:33:17Z")

</div>

hi,all

i dont know why it does not work as my expection.  
it always render the 127.0.0.1:3000 (my ror server) ,not the 8080  
port.

\<%= link\_to\_remote ‘query now!’,  
{:host=\>“127.0.0.1:8080”,:controller=\>“webgui”,:action  
=\>“do\_query”,:only\_path=\>“false”},:update=\>“result”,:complete=\>"$  
(‘queryed’)=1"%\>

thanks!

---

<div class="post-metadata">

**Author:** ![Vincent.Z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/90db22/32.png) [@Vincent.Z](https://www.ruby-forum.com/u/Vincent.Z)\
**Post date:** [May 2, 2007, 2:40am UTC](https://www.ruby-forum.com/t/about-the-link-to-remote/103124/2 "2007-05-02T02:40:18Z")

</div>

why this does not work also??!!

query now!

---

<div class="post-metadata">

**Author:** ![Vincent.Z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/90db22/32.png) [@Vincent.Z](https://www.ruby-forum.com/u/Vincent.Z)\
**Post date:** [May 2, 2007, 4:15am UTC](https://www.ruby-forum.com/t/about-the-link-to-remote/103124/3 "2007-05-02T04:15:23Z")

</div>

FIXed after check rails’ sources. thanks!
