in reply to how to search and replace some text in a .conf file

I think you just forgot to print the results...
while ( <IN> ) { s/remote-be-address/192.168.106.60/g; print; }