Closed bjorngranvik closed 10 years ago
I am unable to reproduce this on my computers. Using another computer I am able to browse to the IP of my dev machine and use reudd from there.
You could try to change the "environments > development > grails.serverURL" variable to something like grails.serverURL = "http://192.168.1.1:8080/${appName}"
and then relaunch the app.
But don't commit your changes since I bet that we will all have different IPs on our dev machines.
you can also run grails -Dserver.host=<myhostname>
, see http://www.grails.org/doc/latest/ref/Command%20Line/run-app.html
I tried the -Dserver command and also set the port to something different. Still the same problem on submitting a new node. It directed to old port and localhost.
Rewriting the serverUrl as Jonas suggest above seem to work. But isn't there a better way than to hard code an ip?
I believe to have solved this by updating the Config.groovy file to the format used on new Grails 2.2.4 applications (5a0a077). I think it was caused by different usages of the grails.serverURL between Grails version.
@bjorngranvik: Can you verify?
Seems to work fine now.
/Björn
Written on a mobile. Please excuse brevity and errrs
30 aug 2013 kl. 21:02 skrev Jonas Andersson notifications@github.com:
I believe to have solved this by updating the Config.groovy file to the format used on new Grails 2.2.4 applications (5a0a077). I think it was caused by different usages of the grails.serverURL between Grails version.
@bjorngranvik: Can you verify?
— Reply to this email directly or view it on GitHub.
Using Reudd will land you in localhost as ip number in the current setup. Using an web browser from another will not work. How to specify this?